[Samba] How to reduce size of samba binaries

Javid Abdul-AJAVID1 AJAVID1 at motorola.com
Fri Mar 1 12:26:05 GMT 2002


true
i was using solaris2.6

-----Original Message-----
From: David Brodbeck [mailto:DavidB at mail.interclean.com]
Sent: Friday, March 01, 2002 11:34 AM
To: 'Javid Abdul-AJAVID1'; '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


I'm using Linux; top varies a lot from operating system to operating system.

Mine has SIZE, RSS, and SHARE columns.

-----Original Message-----
From: Javid Abdul-AJAVID1 [mailto:AJAVID1 at motorola.com]
Sent: Friday, March 01, 2002 12:32 PM
To: 'David Brodbeck'; Javid Abdul-AJAVID1; '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


which version of "top" are you using
i dont see "shared memory" column in top
i can see only SIZE, RES 
I was also using MemTool, it gives more description of the process

any more inputs on this memory utilization, its imp we all understand this
correctly.

thanks

-----Original Message-----
From: David Brodbeck [mailto:DavidB at mail.interclean.com]
Sent: Friday, March 01, 2002 11:27 AM
To: 'Javid Abdul-AJAVID1'; 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


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