On Sat, Jul 16, 2011 at 01:12:57PM +0200, Claudio Jeker wrote:
> On Sat, Jul 16, 2011 at 03:16:29AM -0300, Christiano F. Haesbaert wrote:
> > Hi there, I have a local mirror of cvs src, everything works fine, except 
> > that
> > the IO seems to take place in another disk.
> > 
> > I have a very very very very slow udma controller in wd0 (the ultra 5 one):
> > 
> > wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
> > 
> > So I keep my cvs in a faster controller/disk:
> > 
> > wd1(pciide1:2:0): using BIOS timings, Ultra-DMA mode 7
> > 
> > I have this, so you can see, most stuff is on the slow controller. 
> > 
> > /dev/wd0a on / type ffs (local)
> > /dev/wd0d on /tmp type ffs (local, nodev, nosuid)
> > /dev/wd0g on /usr type ffs (NFS exported, local, nodev)
> > /dev/wd0e on /var type ffs (local, nodev, nosuid)
> > /dev/wd1a on /data/sta type ffs (NFS exported, local, nodev, nosuid)
> > 
> > Here is the weird part, /cvs points to /data/sta/cvs (which is in the fast
> > controller)
> > 
> > lrwxr-xr-x   1 root  wheel       14 Jul 13 19:55 cvs@ -> /data/sta/cvs/
> > 
> > Now watch what happends when I 'cvs up' from another machine:
> > 
> > == No cvs up, disk mostly idle ==
> > 
> > gandalf:haesbaert: iostat -w 3 
> >       tty            wd0             cd0             wd1             cpu
> >  tin tout  KB/t t/s MB/s   KB/t t/s MB/s   KB/t t/s MB/s  us ni sy in id
> >    0   41 11.68   3 0.03   0.00   0 0.00  49.91   5 0.25   1  0  2  1 96
> >    0   74  0.00   0 0.00   0.00   0 0.00   0.00   0 0.00   0  0  0  0100
> >    0   98 13.71   7 0.09   0.00   0 0.00   0.00   0 0.00   0  0  0  0100
> > 
> > == cvs up, wd1 transaction should go up roof ==
> > gandalf:haesbaert: iostat -w 3 
> >       tty            wd0             cd0             wd1             cpu
> >  tin tout  KB/t t/s MB/s   KB/t t/s MB/s   KB/t t/s MB/s  us ni sy in id
> >    0   41 11.68   3 0.03   0.00   0 0.00  49.91   5 0.25   1  0  2  1 96
> >    0   98  9.52 263 2.45   0.00   0 0.00   0.00   0 0.00   5  0  9  3 84
> >    0   25  9.53 277 2.58   0.00   0 0.00   0.00   0 0.00   1  0  5  0 94
> >    0   49  9.51 282 2.62   0.00   0 0.00   0.00   0 0.00   2  0  7  1 90
> >    0   49  9.67 258 2.44   0.00   0 0.00  64.00   0 0.02   1  0  5  1 93
> > 
> > 
> > But no, IO seems to take place mostly in wd0, I've confirmed swap was not 
> > taking
> > place, I shut down everything, top showed 100mb+ free:
> > 
> > load averages:  2.23,  1.02,  0.65
> > gandalf.midearth 03:12:25
> > 42 processes:  1 running, 40 idle, 1 on processor
> > CPU states:  1.6% user,  0.0% nice,  4.9% system,  0.4% interrupt, 93.2% 
> > idle
> > Memory: Real: 19M/64M act/tot  Free: 176M  Swap: 16M/1024M used/tot
> > 
> > The user doing the cvs has a home in /home/ which is in wd0.
> > I'm also able to hear wd0 (different sound than wd1), so I know fstat is 
> > telling
> > the truth.
> > 
> > What's hapenning ? I'm pretty sure I'm missing something real simple, just 
> > to have
> > an insight, a 'cvs up' is taking more than 30min. 
> > 
> 
> cvs is also using /tmp which is on wd0 for temporary files.
> 

There it is, thank you !

-- 
Christiano Farina HAESBAERT
Do NOT send me html mail.

Reply via email to