ssseintr hwc | 25 Jun 2012 13:15
Picon

Reg. How to optimize code size & memory requirement for embedded platform...

Dear Team,

We want to port the Samba server to Linux based embedded platform. Due
to huge memory requirement we are bit struggling to use it.

As per our understanding Samba is already optimized for embedded platforms.

What are the memory level optimization done for embedded platforms & Any other
details avail relate to this.

Please help us.

Best Regards,
Vicky.

Andrew Bartlett | 26 Jun 2012 12:57
Picon
Favicon

Re: Reg. How to optimize code size & memory requirement for embedded platform...

On Mon, 2012-06-25 at 16:45 +0530, ssseintr hwc wrote:
> Dear Team,
> 
> We want to port the Samba server to Linux based embedded platform. Due
> to huge memory requirement we are bit struggling to use it.
> 
> As per our understanding Samba is already optimized for embedded platforms.
> 
> What are the memory level optimization done for embedded platforms & Any other
> details avail relate to this.

For a smaller Samba code size, try the top level build in the Samba 4.0
beta releases.  

You can use

./configure --without-ad-dc

to just get a file server (not the full AD DC).  The result should be
much smaller than the current released versions due to the new build
system using shared libraries internally. 

Andrew Bartlett

--

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

ssseintr hwc | 27 Jun 2012 08:08
Picon

Re: Reg. How to optimize code size & memory requirement for embedded platform...

Dear Andrew,

Thanks for your response.

We need simple smb server(for serve files & file/folder information).

Is possible to reduce unwanted/optional modules.

Best Regards,
Vicky.

On Tue, Jun 26, 2012 at 4:27 PM, Andrew Bartlett <abartlet <at> samba.org> wrote:

> On Mon, 2012-06-25 at 16:45 +0530, ssseintr hwc wrote:
> > Dear Team,
> >
> > We want to port the Samba server to Linux based embedded platform. Due
> > to huge memory requirement we are bit struggling to use it.
> >
> > As per our understanding Samba is already optimized for embedded
> platforms.
> >
> > What are the memory level optimization done for embedded platforms & Any
> other
> > details avail relate to this.
>
> For a smaller Samba code size, try the top level build in the Samba 4.0
> beta releases.
>
> You can use
(Continue reading)

Matthieu Patou | 27 Jun 2012 09:06
Picon
Favicon

Re: Reg. How to optimize code size & memory requirement for embedded platform...

On 06/26/2012 11:08 PM, ssseintr hwc wrote:
> Dear Andrew,
>
> Thanks for your response.
>
> We need simple smb server(for serve files & file/folder information).
With andew's command line you have a starting point, you should have a 
look at the configure options to desactivate some other stuff (maybe).
Also feel free to contribute back any patches you have to reduce the 
footprint.

Btw what are your concerns the size on the "disk" or the RAM footprint ?

Matthieu.
>
> Is possible to reduce unwanted/optional modules.
>
> Best Regards,
> Vicky.
>
>
>
>
> On Tue, Jun 26, 2012 at 4:27 PM, Andrew Bartlett <abartlet <at> samba.org> wrote:
>
>> On Mon, 2012-06-25 at 16:45 +0530, ssseintr hwc wrote:
>>> Dear Team,
>>>
>>> We want to port the Samba server to Linux based embedded platform. Due
>>> to huge memory requirement we are bit struggling to use it.
(Continue reading)


Gmane