7.1-PRERELEASE: arcmsr write performance problem

Paul MacKenzie bsdlist at cogeco.ca
Mon Dec 15 14:27:04 PST 2008


> 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



More information about the freebsd-stable mailing list