Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 1999 16:00:38 -0700
From:      Ludwig Pummer <ludwigp@toy.chip-web.com>
To:        junkmale@xtra.co.nz, freebsd-questions@freebsd.org
Subject:   Re: ftpd uses > 50% of CPU
Message-ID:  <4.1.19990517155811.00a8e8c0@mail-r>
In-Reply-To: <19990517075512.RVTO7623210.mta2-rme@wocker>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:53 AM 5/17/1999 , Dan Langille wrote:
>I transferred a 23M file via FTP from my NT box to my FreeBSD box last 
>night.  The transfer rate varied between 170 and 200 KB/s.  I thought that 
>was a bit low over a CAT5 with 10M cards.  So I looked to see what was 
>going on in the FreeBSD box.  I found ftpd was running very high.  The 
>snapshot below is not typical.  It often was 50 or 60% of CPU.

>39626 root     105  20   972K   252K RUN     91.5H 39.36% 39.36% rc5des

That's probably one of your problems right there.

It's been discussed a few times before... Even if rc5des is niced to 52
(man idprio), it still takes away CPU time for kernel idle processes. This
ends up slowing down everything else. It has to do with FreeBSD's process
priority scheduling system or something like that (I don't know the
internals of FreeBSD, I just remember what was discussed).

--Ludwig Pummer ( ludwigp@bigfoot.com ) ICQ UIN: 692441


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19990517155811.00a8e8c0>