[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cp load average
Wim Vandeputte <wim@kd85.com> wrote :
> On Tue, Dec 31, 2002 at 01:09:44PM +0200, Condor wrote:
> > that when i copy one file with 600 MB or more, my server load average is
> bring up:
> > #cp some_file /mnt/hdd2
> > --- paste ---
> > # w
> > 5:11PM up 8 days, 20:39, 1 user, load averages: 28.35, 13.29, 6.79
> > USER TTY FROM LOGIN@ IDLE WHAT
> > root p0 ixip.net 4:46PM 0 w
>
> You need to have a look with systat what is sucking up your resources.
>
> Try:
>
> systat vm 1
>
> and check out what is bringing your system on it's knees: too many interupts?
>
> Context switches?
>
> You are not telling us on what devices the files are? SCSI? IDE? Network?
>
> Kind of hard to judge from here with no info ;-)
>
> Wim.
Wim Vandeputte <wim@kd85.com> wrote :
> On Tue, Dec 31, 2002 at 01:09:44PM +0200, Condor wrote:
> > that when i copy one file with 600 MB or more, my server load average is
> bring up:
> > #cp some_file /mnt/hdd2
> > --- paste ---
> > # w
> > 5:11PM up 8 days, 20:39, 1 user, load averages: 28.35, 13.29, 6.79
> > USER TTY FROM LOGIN@ IDLE WHAT
> > root p0 ixip.net 4:46PM 0 w
>
> You need to have a look with systat what is sucking up your resources.
>
> Try:
>
> systat vm 1
>
> and check out what is bringing your system on it's knees: too many interupts?
>
> Context switches?
>
> You are not telling us on what devices the files are? SCSI? IDE? Network?
>
> Kind of hard to judge from here with no info ;-)
>
> Wim.
Hello again,
sorry that i not paste dmesg:
--- dmesg ---
OpenBSD 3.2-stable (ftp) #0: Sat Dec 21 14:10:24 EET 2002
root@vcable.net:/sys/arch/i386/compile/ftp
cpu0: AMD Athlon Model 6 (Palomino) ("AuthenticAMD" 686-class) 1.05 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem = 536395776 (523824K)
avail mem = 359489536 (351064K)
using 4278 buffers containing 161546240 bytes (157760K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(b8) BIOS, date 03/27/02, BIOS32 rev. 0 @ 0xfb210
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xdf94
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdee0/128 (6 entries)
pcibios0: PCI Exclusive IRQs: 10 11 12
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x6000!
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8366 Host-PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8366 PCI-AGP" rev 0x00
pci1 at ppb0 bus 1
xl0 at pci0 dev 8 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 11 address 00:60:97:91:57:1a
ukphy0 at xl0 phy 24: Generic IEEE 802.3u media interface
ukphy0: OUI 0x080017, model 0x0000, rev. 1
vga1 at pci0 dev 9 function 0 "S3 868" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-7 added (80x25, vt100 emulation)
ppb1 at pci0 dev 11 function 0 "DPT PCI-PCI bridge" rev 0x02
pci2 at ppb1 bus 2
iop0 at pci0 dev 11 function 1 "DPT SmartRAID (I2O)" rev 0x02: I2O adapter <ADAPTEC 2400A>
iop0: interrupting at irq 12
pcib0 at pci0 dev 17 function 0 "VIA VT8233 PCI-ISA" rev 0x00
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLP AS30.0>
wd0: 16-sector PIO, LBA, 28629MB, 16383 cyl, 16 head, 63 sec, 58633344 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 5040 netmask 5840 ttymask 58c2
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
iop0: configuring...
ioprbs0 at iop0 tid 521: <ADAPTEC, RAID-0, 370L> direct access, fixed
scsibus0 at ioprbs0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <I2O, Container #00, > SCSI2 0/direct fixed
sd0: 262143MB, 33418 cyl, 255 head, 63 sec, 512 bytes/sec, 536868864 sec total
ioprbs1 at iop0 tid 525: <ADAPTEC, RAID-0, 370L> direct access, fixed
scsibus1 at ioprbs1: 1 targets
sd1 at scsibus1 targ 0 lun 0: <I2O, Container #00, > SCSI2 0/direct fixed
sd1: 262143MB, 33418 cyl, 255 head, 63 sec, 512 bytes/sec, 536868864 sec total
device (class 0x80) at iop0 tid 8 not configured
device (class 0x80) at iop0 tid 9 not configured
device (class 0x80) at iop0 tid 10 not configured
device (class 0x80) at iop0 tid 11 not configured
dkcsum: wd0 matched BIOS disk 80
dkcsum: sd0 matched BIOS disk 82
dkcsum: sd1 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
----
cat /etc/fstab
----
/dev/wd0a / ffs rw 1 1
/dev/wd0g /tmp ffs rw,nodev,nosuid 1 2
/dev/wd0d /usr ffs rw,nodev 1 2
/dev/wd0i /usr/local ffs rw,nodev 1 2
/dev/wd0f /usr/ports ffs rw,nodev,nosuid 1 2
/dev/wd0e /usr/src ffs rw,nodev,nosuid 1 2
/dev/wd0h /var ffs rw,nodev,nosuid 1 2
/dev/sd0d /mnt/ftp/ftp1 ffs rw,nodev,nosuid 1 2
/dev/sd0e /mnt/ftp/ftp2 ffs rw,nodev,nosuid 1 2
/dev/sd1a /mnt/ftp/ftp3 ffs rw,nodev,nosuid 1 2
/dev/sd1d /mnt/ftp/ftp4 ffs rw,nodev,nosuid 1 2
I copy file from wd0i to sd0e, i make copy to systat and i
attached.
2 users Load 15.38 9.84 5.56 Wed Jan 1 14:13:27 2003
memory totals (in KB) PAGING SWAPPING Interrupts
real virtual free in out in out 1895 total
Active 74300 74300 244900 ops 100 clock
All 268924 268924 375936 pages 128 rtc
405 xl0
Proc:r d s w Csw Trp Sys Int Sof Flt 15 forks 937 iop0
58 40 611 3960 24242 1941 465 3533 fkppw 325 pciide0
fksvm
17.8% Sys 3.1% User 3.1% Nice 71.3% Idle pwait
| | | | | | | | | | | relck
=========>-- rlkok
noram
Namei Sys-cache Proc-cache No-cache 548 ndcpy
Calls hits % hits % miss % fltcp
456 450 99 21 zfod
1045 cow
Discs wd0 fd0 sd0 sd1 128 fmin
seeks 325 5 932 170 ftarg
xfers 325 5 932 itarg
Kbyte12566 13611177 266 wired
sec 1.0 0.0 1.0 pdfre
pdscn
Regards,
Condor
___________________________________
http://www.vcable.net
2 users Load 19.58 8.90 4.68 Wed Jan 1 14:11:15 2003
memory totals (in KB) PAGING SWAPPING Interrupts
real virtual free in out in out 772 total
Active 73892 73892 245324 ops 100 clock
All 268500 268500 376360 pages 128 rtc
528 xl0
Proc:r d s w Csw Trp Sys Int Sof Flt 6 forks 16 iop0
96 344 1891 7428 776 290 1622 fkppw pciide0
fksvm
3.9% Sys 0.0% User 1.6% Nice 94.6% Idle pwait
| | | | | | | | | | | relck
==- rlkok
noram
Namei Sys-cache Proc-cache No-cache 226 ndcpy
Calls hits % hits % miss % fltcp
49 49 100 6 zfod
556 cow
Discs wd0 fd0 sd0 sd1 128 fmin
seeks 2 14 170 ftarg
xfers 2 14 itarg
Kbyte 87 445 266 wired
sec 0.3 pdfre
pdscn
-------------------------------------------------------------------------
2 users Load 15.38 9.84 5.56 Wed Jan 1 14:13:27 2003
memory totals (in KB) PAGING SWAPPING Interrupts
real virtual free in out in out 1895 total
Active 74300 74300 244900 ops 100 clock
All 268924 268924 375936 pages 128 rtc
405 xl0
Proc:r d s w Csw Trp Sys Int Sof Flt 15 forks 937 iop0
58 40 611 3960 24242 1941 465 3533 fkppw 325 pciide0
fksvm
17.8% Sys 3.1% User 3.1% Nice 71.3% Idle pwait
| | | | | | | | | | | relck
=========>-- rlkok
noram
Namei Sys-cache Proc-cache No-cache 548 ndcpy
Calls hits % hits % miss % fltcp
456 450 99 21 zfod
1045 cow
Discs wd0 fd0 sd0 sd1 128 fmin
seeks 325 5 932 170 ftarg
xfers 325 5 932 itarg
Kbyte12566 13611177 266 wired
sec 1.0 0.0 1.0 pdfre
pdscn