*BSD News Article 18131


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!sdd.hp.com!col.hp.com!csn!csn!arrayb!cwolff
From: cwolff@intellistor.com (Clint Wolff)
Subject: Re: nfsd-udp very cpu hungry...
Message-ID: <1993Jul8.193524.1443@intellistor.com>
Organization: Intellistor, Longmont, CO
References: <21gnsn$26s@sun.rhbnc.ac.uk> <1993Jul8.104735.16179@cnplss5.cnps.philips.nl>
Date: Thu, 8 Jul 93 19:35:24 GMT
Lines: 38

>simon@dcs.rhbnc.ac.uk (Simon Richardson) writes:
>
>
>>I am having a spot of bother setting up 386bsd on a network.  I have the
>>0.2.2 patchkit installed.  I have a 486/DX2 at 33 (66?) Mhz which I am
>>trying to use on ethernet as a server, with an nfs card configured as ne0.
>
>>When my other (386Dx 40Mhz) machine tries to use NFS off this machine, the
>>nfs-udp daemon becomes very cpu hungry.  ps -aux (eventually) reports 556%
>>cpu usage.  Obviously this degrades performance a tad. (5 mins to log on, or
>>worse).
>
>>I can FTP large files from one machine to another, and telnet from one
>>machine to another.  Ping reports no problems, so I assume it is just NFS.
>
>>Is there a patch?  Is anyone working on this?  Or have I done something
>>silly?

Do you have your remote machine (client) set up with rsize=1024 and wsize=1024
in the /etc/fstab? I noticed performance was abysmal with the default values
(8k I think)... I suspect it is because the network card can't buffer up
enough packets to put together a full 8k block without losing data...

Otherwise??? You might check the network, and see how much it is being used,
and collisions and such... A lot of retries would burn CPU time pretty bad...

clint


-- 
+-----------------------------------------------------------------------------+
| Clint Wolff                                          Blonde and proud of it |
| Fujitsu Computer Products of America - Intellistor Research and Development |
| cwolff@slowboy.intellistor.com       Ex-hacker... Now System Admininstrator |
+-----------------------------------------------------------------------------+
|       SAVE BANDWIDTH... EMAIL YOUR RESPONSES TO THE PERSON WHO ASKED...     |
|     DON'T POST ME-TO MESSAGES... EMAIL THE ORIGINAL POSTER FOR A SUMMARY    |
+-----------------------------------------------------------------------------+