6.8 became very slow

Artem Kuchin matrix at itlegion.ru
Thu Jan 29 03:45:19 PST 2009


I have  a very strange situation here. There was a hosting box with 5 
jails.
Everything is 6.4
It was running twe driver with RAID 5.

Then i had a crash and had to reinstall the system.

So, i have installed FREEBSD 6.8, cvsed the latest, rebuilt everything 
and then
just copied jails from the prev installation. So, the host system is 6.8 
and the jails are 6.4.
Also, raid is MIRROR now, not RAID5.

The problem is that now everything became really slow.

When i do top i see:
load averages: 16.45, 14.86, 13.86
737 processes: 20 running, 703 sleeping, 14 zombie
CPU: 15.9% user,  0.0% nice, 81.9% system,  2.2% interrupt,  0.0% idle

Everything pretty much as it was. But 82% system CPU is really weird. I 
don;t remember
exactly, but i think it was not like this before. AFAIK it meas 82% of 
CPU time is spent in
the kernel.

I look at the io stats: gstat:
dT: 1.005s  w: 1.000s
 L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
    0      0      0      0    0.0      0      0    0.0    0.0| acd0
    0      0      0      0    0.0      0      0    0.0    0.0| ad2
    0      0      0      0    0.0      0      0    0.0    0.0| ad2s1
    0      9      8     16    3.9      1      8    0.6    3.1| twed0
    0      0      0      0    0.0      0      0    0.0    0.0| twed1
    0      0      0      0    0.0      0      0    0.0    0.0| ad2s1c
    0      0      0      0    0.0      0      0    0.0    0.0| ad2s1d
    0      9      8     16    3.9      1      8    0.6    3.2| twed0s1
    0      0      0      0    0.0      0      0    0.0    0.0| twed1s1
    0      0      0      0    0.0      0      0    0.0    0.0| twed0s1a
    0      0      0      0    0.0      0      0    0.0    0.0| twed0s1b
    0      0      0      0    0.0      0      0    0.0    0.0| twed0s1c
    0      0      0      0    0.0      0      0    0.0    0.0| twed0s1d
    0      0      0      0    0.0      0      0    0.0    0.0| twed0s1e
    0      8      8     16    3.9      0      0    0.0    3.1| twed0s1f
    0      1      0      0    0.0      1      8    0.8    0.1| twed0s1g
    0      0      0      0    0.0      0      0    0.0    0.0| twed1s1a
    0      0      0      0    0.0      0      0    0.0    0.0| twed1s1b
    0      0      0      0    0.0      0      0    0.0    0.0| twed1s1c
    0      0      0      0    0.0      0      0    0.0    0.0| twed1s1d
    0      0      0      0    0.0      0      0    0.0    0.0| twed1s1e
    0      0      0      0    0.0      0      0    0.0    0.0| twed1s1f

This seems to be okay.

Any idea what might happened?



--
Regasrd
Artem Kuchin



More information about the freebsd-questions mailing list