[Samba] memory optimization for Samba

This is a discussion on [Samba] memory optimization for Samba within the Samba forums, part of the Networking and Network Related category; HI, I am new to samba internals. I have to port samba on an embedded target with strict memory constraints. ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-23-2008
Prateek.Mathur@lntinfotech.com
 
Posts: n/a
Default [Samba] memory optimization for Samba

HI,
I am new to samba internals. I have to port samba on an embedded
target with strict memory constraints. I want to weather or not Samba can
be optimized for smaller memory footprints and if yes how? Can samba be
installed by removing some packages or is there any other version
available for embedded targets?
Any detail provided will be of great help.


Thanks

Prateek Mathur
Software Engineer



__________________________________________________ ____________________
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #2 (permalink)  
Old 06-23-2008
Volker Lendecke
 
Posts: n/a
Default Re: [Samba] memory optimization for Samba

On Mon, Jun 23, 2008 at 10:57:46AM +0530, Prateek.Mathur@lntinfotech.com wrote:
> I am new to samba internals. I have to port samba on an embedded
> target with strict memory constraints. I want to weather or not Samba can
> be optimized for smaller memory footprints and if yes how? Can samba be
> installed by removing some packages or is there any other version
> available for embedded targets?
> Any detail provided will be of great help.


Right now we're pretty monolithic, sorry. What is more
constrained in your environment? Disk or RAM? We've put
quite a bit of effort into reducing the dynamic memory
requirements with 3.2, but our disk footprint is still way
larger than it strictly needs to be. We're working towards
using more shared libraries for common components, but this
is not fully done yet. We'd appreciate help here :-)

Volker

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFIX0DeUzqjrWwMRl0RAmL1AJ4u4x5pJvselYs6zfEZia ZoAVNF0ACfXz11
W34p6E37DB6JmxTpGW26Q3Y=
=YaWo
-----END PGP SIGNATURE-----

Reply With Quote
  #3 (permalink)  
Old 06-23-2008
Prateek.Mathur@lntinfotech.com
 
Posts: n/a
Default Re: [Samba] memory optimization for Samba

Hi,
Thanks for ur reply. My major constraint is the RAM.
Also i want to know weather samba has been ported to embedded targets with
such constraints(RAM) and what is the minimun RAM requirement for samba
3.2.
If you can guide me towards any good samba 3.2 installation/internals or
optimization tutorials will be of some help to me.

Regards,
Prateek Mathur
Software Engineer




Volker Lendecke <Volker.Lendecke@SerNet.DE>
06/23/2008 11:51 AM
Please respond to
Volker.Lendecke@SerNet.DE


To
Prateek.Mathur@lntinfotech.com
cc
samba@lists.samba.org
Subject
Re: [Samba] memory optimization for Samba






On Mon, Jun 23, 2008 at 10:57:46AM +0530, Prateek.Mathur@lntinfotech.com
wrote:
> I am new to samba internals. I have to port samba on an embedded


> target with strict memory constraints. I want to weather or not Samba

can
> be optimized for smaller memory footprints and if yes how? Can samba be


> installed by removing some packages or is there any other version
> available for embedded targets?
> Any detail provided will be of great help.


Right now we're pretty monolithic, sorry. What is more
constrained in your environment? Disk or RAM? We've put
quite a bit of effort into reducing the dynamic memory
requirements with 3.2, but our disk footprint is still way
larger than it strictly needs to be. We're working towards
using more shared libraries for common components, but this
is not fully done yet. We'd appreciate help here :-)

Volker



__________________________________________________ ____________________
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
  #4 (permalink)  
Old 06-23-2008
Volker Lendecke
 
Posts: n/a
Default Re: [Samba] memory optimization for Samba

On Mon, Jun 23, 2008 at 12:14:59PM +0530, Prateek.Mathur@lntinfotech.com wrote:
> Thanks for ur reply. My major constraint is the RAM.
> Also i want to know weather samba has been ported to embedded targets with
> such constraints(RAM) and what is the minimun RAM requirement for samba
> 3.2.


That's difficult to say, as the exact RAM requirements very
much depend on the actual client actions. If I remember
correctly, last time I measured it an idle client added
roughly 300k memory footprint to the running system. I did
not measure though how much just starting Samba was.

> If you can guide me towards any good samba 3.2 installation/internals or
> optimization tutorials will be of some help to me.


For installation, there's tons of stuff around via
www.samba.org. For internals, ask on samba-technical or join
the #samba-technical channel on irc.freenode.net.

Volker

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFIX006UzqjrWwMRl0RAgYEAJ9CviV4xRHkG87C0so5Fz 1pcglMGQCfeoGZ
Z2kdbHwg/ghSKoXIlahtJ7Y=
=S2wN
-----END PGP SIGNATURE-----

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:59 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0