[Samba] How to reduce size of samba binaries

David Brodbeck DavidB at mail.interclean.com
Fri Mar 1 10:19:04 GMT 2002


I thought the stuff in the 'shared memory' column in top was shared between
running processes, so didn't contribute to the total.  That would mean only
the resident memory that's not shared would be taken for each process.  I
could be wrong, though.

-----Original Message-----
From: Javid Abdul-AJAVID1 [mailto:AJAVID1 at motorola.com]
Sent: Friday, March 01, 2002 12:21 PM
To: 'David Brodbeck'; 'Jon Gerdes'; dennisvr at yahoo.com
Cc: samba at lists.samba.org; abartlet at pcug.org.au
Subject: RE: [Samba] How to reduce size of samba binaries


Imp:

Correct me here if am wrong.

Every smbd connection process takes memory, which includes, Resident,
shared, private

which means memory cost of adding another smbd is 2280K not 700k in this.

shared mem is taken for every smbd process - 

Need experts input on this plz

regarda
Abdul 

-----Original Message-----
From: David Brodbeck [mailto:DavidB at mail.interclean.com]
Sent: Friday, March 01, 2002 8:06 AM
To: 'Jon Gerdes'; dennisvr at yahoo.com
Cc: samba at lists.samba.org; abartlet at pcug.org.au
Subject: RE: [Samba] How to reduce size of samba binaries


Isn't most of that memory being shared between the various copies anyway?
"top" on my samba system shows me that while smbd uses roughly 2280K of
memory, about 1500K of that is shared.  I take that to mean that while a
single smbd would use 2280K, the memory cost of adding each additional new
smbd process is only about 700K.

Given that, I'm not sure if making the binary smaller on disk will actually
reduce your memory usage all that much.  One of the more knowledgable people
can correct me if I'm wrong.

-----Original Message-----
From: Jon Gerdes [mailto:GERDESJ at whl.co.uk]
Sent: Friday, March 01, 2002 7:42 AM
To: dennisvr at yahoo.com
Cc: samba at lists.samba.org; abartlet at pcug.org.au
Subject: Re: [Samba] How to reduce size of samba binaries


>>OK, it looks like this is a HEAD (Samba 3.0 alpha) only thing.  You
>>could add a similar thing to Samba 2.2 without much effort.

At the risk of not sounding like a programmer 8) ... How ?  I'm sure that
not much effort *is* involved but do we just recreate the lines from the
alpha ?  I currently have 421 connections on my Samba box (well it is Friday
afternoon - so most people have gone home) at 1.5Mb each that's a lot of
memory.

Cheers
Jon Gerdes


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

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




More information about the samba mailing list