Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* CPU usage & SAMBA
@ 2001-06-10  0:08 Mike V
  2001-06-12  1:51 ` Jack Patteeuw
  2001-06-12 18:32 ` sake
  0 siblings, 2 replies; 3+ messages in thread
From: Mike V @ 2001-06-10  0:08 UTC (permalink / raw)


I'm having trouble understanding what is happening to our system.  Its
an Alpha DS20 dual 500 CPU's with 1.5 gb RAM running Tru64 5.1 and
SAMBA 2.0.6.  The Alpha is connected to the network via a fiber Gig
NIC to a fast ethernet switch which feeds all the PC's at 100 mbs. 
SAMBA is used to share out read only files, mostly jpeg images to the
PC world (NT's & Win98's).  For some PC's SAMBA will use up to 50% of
the Alpha's CPU while reading images, while on other PC's (same image
files) it barely goes above 9%.

Anyone know why the SAMBA server CPU would go so high while serving
images to some PC's but not others?  Is there some kind of bottleneck
in the network (PC's NIC or switch) which is causing the Alpha CPU to
work so hard?

Any ideas are appreciated.

Thanks,

Mike V.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CPU usage & SAMBA
  2001-06-10  0:08 CPU usage & SAMBA Mike V
@ 2001-06-12  1:51 ` Jack Patteeuw
  2001-06-12 18:32 ` sake
  1 sibling, 0 replies; 3+ messages in thread
From: Jack Patteeuw @ 2001-06-12  1:51 UTC (permalink / raw)


Mike V wrote:
> 
> I'm having trouble understanding what is happening to our system.  Its
> an Alpha DS20 dual 500 CPU's with 1.5 gb RAM running Tru64 5.1 and
> SAMBA 2.0.6.  


I suggest going to Samba 2.2.  There are several security bug fixes.  It
compiled on my V4.0F machine with only one compiler warning.


> Anyone know why the SAMBA server CPU would go so high while serving
> images to some PC's but not others?  Is there some kind of bottleneck
> in the network (PC's NIC or switch) which is causing the Alpha CPU to
> work so hard?

Our Samba usage is very low and doesn't put any strain on our dual
process ES40.  We are running 100 Mb full duplex (auto negotiated!)
through 2 layers of Cisco Switches with no problem.

Jack Patteeuw


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CPU usage & SAMBA
  2001-06-10  0:08 CPU usage & SAMBA Mike V
  2001-06-12  1:51 ` Jack Patteeuw
@ 2001-06-12 18:32 ` sake
  1 sibling, 0 replies; 3+ messages in thread
From: sake @ 2001-06-12 18:32 UTC (permalink / raw)


Hi Mike,

i think you have to be a bit more specific

>I'm having trouble understanding what is happening to our system.  Its
>an Alpha DS20 dual 500 CPU's with 1.5 gb RAM running Tru64 5.1 and
>SAMBA 2.0.6.  The Alpha is connected to the network via a fiber Gig
>NIC to a fast ethernet switch which feeds all the PC's at 100 mbs.


use full-duplex in that case. dont use autonegotiation

>SAMBA is used to share out read only files, mostly jpeg images to the
>PC world (NT's & Win98's).  For some PC's SAMBA will use up to 50% of

>the Alpha's CPU while reading images, while on other PC's (same image
>files) it barely goes above 9%.


is that the usr, sys or wio part of cpu time and is the effective wait time
for the
client (e. g. enduser) acceptable or does the wait time vary?
Does the diffrence occure with diffrent Unix Users (ulimit -a diffrences)?

>Anyone know why the SAMBA server CPU would go so high while serving
>images to some PC's but not others?  Is there some kind of bottleneck
>in the network (PC's NIC or switch) which is causing the Alpha CPU to
>work so hard?


A 100 % used CPU isnt all bad. If you get paging or swapping (ps aux) it not
good. There shouldnt be a network problem, check with netstat -a | grep -i
est
and take a look at the outgoing buffers (1. or 2. column) if there continues
to
be a high number of bytes (or blocks?) for the same connection than your
machine
cant send the data. But that would not mess up the cpu.
check as well the incoming buffer. if there continues to be a high number of
bytes for the same connection your server cant cope with the jobs he should
be
doing.

read as well the tuning guide for tru64
have fun
sake.

>Any ideas are appreciated.
>
>Thanks,
>
>Mike V.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-12 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-10  0:08 CPU usage & SAMBA Mike V
2001-06-12  1:51 ` Jack Patteeuw
2001-06-12 18:32 ` sake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox