Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2006 15:40:37 +1200
From:      Philip Murray <pmurray@nevada.net.nz>
To:        freebsd-stable@freebsd.org
Subject:   Slow/locking UFS/VFS in 6.1?
Message-ID:  <1D6A7B88-79F5-4014-9E49-5AD4FFC6AE00@nevada.net.nz>

next in thread | raw e-mail | index | archive | help
Hi,

I just upgraded a webserver (serving a pretty busy site) from a Dual  
Xeon 2.4Ghz with a 3Ware 7850 8-port (8x Seagate 120GB IDE drives in  
RAID5) running FreeBSD 4.11 to a Dual Opteron 248 with a 3Ware  
9550SX-8LP (8x Hitachi SATA2 250GB drives in a RAID5) running FreeBSD  
6.1-Stable.

The site runs considerably slower on the faster machine running 6.1,  
things seem to be blocking on IO a lot more. For instance a page  
could load very quickly from Apache, and if you reload straight away  
it can take up to 20 seconds for the page to load again.

When this happens it seems a lot of Apache processes get stuck in the  
UFS state (in top).

Is there a way to debug what's going on? or work around it. It should  
be much much faster which the faster disks and raid controller. Is  
this lock contention in VFS?

Thanks!

Phil





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1D6A7B88-79F5-4014-9E49-5AD4FFC6AE00>