Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2008 17:29:03 -0500
From:      Paul MacKenzie <bsdlist@cogeco.ca>
To:        freebsd-stable@freebsd.org
Subject:   Re: 7.1-PRERELEASE: arcmsr write performance problem
Message-ID:  <4946DA2F.7090508@cogeco.ca>
In-Reply-To: <200812152035.mBFKZkj4084689@lava.sentex.ca>
References:  <2515BCEE3A2F4CBA8FFB9F1C052924AA@jmlaptop>	<4934CB77.30906@transactionware.com> <494698E4.2070406@cogeco.ca>	<200812151900.mBFJ0Jom084267@lava.sentex.ca>	<4946B6EF.5080806@cogeco.ca>	<200812152010.mBFKAlZf084580@lava.sentex.ca>	<4946BDB1.8060208@cogeco.ca>	<200812152035.mBFKZkj4084689@lava.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
> I would try the change to /etc/nsswitch.conf so that group and passwd
> read
>
> group: files
> passwd: files
>
> At that file size, it sounds like you only have about 200 entries ?  I
> doubt its the issue, but its worth a try.  I know at around 9,000
> files anything to do with UID lookups (e.g. ls -l) takes forever.
>
>
>>   PID USERNAME        VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT
>> COMMAND
>>    54 root               2      0      0      7      0      7 100.00%
>> syncer
>
> Do you have any other special tuning other than polling ? Any in
> /boot/loader.conf or /etc/sysctl.conf ?
>
> Does gstat show the disks busy ?
>
>         ---Mike
>

The next thing I am doing is going to be removing the QUOTA feature to see if this has any bearing
on this problem. It does not appear to be even writing at a heavy load as you can see (almost
nothing) but the processes are mostly in UFS when it spirals out of control.

I moved the processing of amavisd-new into a memory drive to at least take that off the IO and this
seems to have helped a bit. There is not a lot of mail going through the system but every little bit
helps. I suspect this is one other reason that is bringing the problem to the forefront as
amavisd-new can use the disks a bit to process each e-mail.

Thanks for your help so far,

Paul




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