Date: Fri, 23 Jan 2009 18:26:34 GMT From: vermaden <vermaden@interia.pl> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/130920: cp(1) takes 100% CPU time while copying file from harddisk to pendrive Message-ID: <200901231826.n0NIQYkw041687@www.freebsd.org> Resent-Message-ID: <200901231830.n0NIU1i4052558@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 130920 >Category: i386 >Synopsis: cp(1) takes 100% CPU time while copying file from harddisk to pendrive >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 23 18:30:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: vermaden >Release: 7.1-RELEASE >Organization: >Environment: FreeBSD mavio 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: cp(1) takes 100% CPU time while copying file from harddisk to pendrive. % mount | sort /dev/ad5s1a on / (ufs, local, noatime) /dev/ad5s1d on /var (ufs, local, noatime, soft-updates) /dev/ad5s1e on /usr (ufs, local, noatime, soft-updates) /dev/ad5s3 on /storage (msdosfs, local) /dev/da0s1 on /mnt/pendrive (msdosfs, local) /dev/md0 on /tmp (ufs, local) devfs on /dev (devfs, local) File was coppied from /storage/... to /mnt/pendrive (about 700mb file). stats whiel using cp(1): % gstat dT: 1.019s w: 1.000s L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name 0 81 81 3723 1.9 0 0 0.0 15.3| ad5 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| ad5s1 0 0 0 0 0.0 0 0 0.0 0.0| ad5s2 0 81 81 3723 4.2 0 0 0.0 33.6| ad5s3 0 0 0 0 0.0 0 0 0.0 0.0| ad5s1a 0 0 0 0 0.0 0 0 0.0 0.0| ad5s1b 0 0 0 0 0.0 0 0 0.0 0.0| ad5s1c 0 0 0 0 0.0 0 0 0.0 0.0| ad5s1d 0 0 0 0 0.0 0 0 0.0 0.0| ad5s1e 0 0 0 0 0.0 0 0 0.0 0.0| acd0t01 0 0 0 0 0.0 0 0 0.0 0.0| iso9660/ISO_vmx 15 68 0 0 0.0 68 4335 172.9 103.4| da0 0 0 0 0 0.0 0 0 0.0 0.0| md0 16 67 0 0 0.0 67 4272 171.7 101.5| da0s1 % top -P last pid: 19387; load averages: 1.34, 0.47, 0.22 up 1+04:51:21 18:54:05 46 processes: 3 running, 43 sleeping CPU 0: 0.0% user, 2.2% nice, 33.9% system, 36.1% interrupt, 27.8% idle CPU 1: 0.0% user, 2.2% nice, 52.9% system, 21.1% interrupt, 23.8% idle Mem: 295M Active, 1406M Inact, 172M Wired, 77M Cache, 112M Buf, 3652K Free Swap: 1024M Total, 96K Used, 1024M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 19246 vermaden 1 -8 5 3128K 768K RUN 0 0:38 66.46% cp 758 vermaden 1 44 5 307M 78772K select 0 58:33 1.27% Xorg 1828 vermaden 2 44 15 44488K 25856K CPU1 1 121:31 0.88% transmission 630 root 1 44 0 8416K 3400K select 0 8:32 0.00% mpd 766 vermaden 1 44 5 7284K 3980K select 1 4:31 0.00% conky 881 vermaden 1 44 5 6384K 3584K select 0 3:00 0.00% ekg 595 root 1 44 0 3184K 872K select 1 2:17 0.00% powerd 1827 vermaden 1 44 5 5252K 2492K select 0 1:43 0.00% ncmpc 629 root 1 44 0 8416K 2884K select 0 1:21 0.00% mpd 764 vermaden 1 44 5 12004K 7332K select 0 0:17 0.00% fluxbox 625 root 1 44 0 8416K 1932K select 1 0:13 0.00% mpd 897 vermaden 2 63 5 261M 200M ucond 1 0:11 0.00% opera 703 root 1 44 0 3268K 872K select 1 0:10 0.00% moused 799 vermaden 1 44 5 4560K 2700K select 0 0:09 0.00% screen 674 root 1 44 0 5752K 2256K select 0 0:06 0.00% sshd 880 vermaden 1 44 5 4236K 1128K select 1 0:01 0.00% luit 19133 vermaden 1 44 5 17516K 9468K select 0 0:01 0.00% urxvt 19235 vermaden 1 20 5 5760K 4372K pause 1 0:01 0.00% zsh 16662 vermaden 1 5 5 6124K 4492K ttyin 1 0:01 0.00% zsh 504 root 1 44 0 3184K 1036K select 1 0:01 0.00% syslogd 19140 vermaden 1 20 5 5652K 4144K pause 1 0:00 0.00% zsh 681 root 1 8 0 3212K 1040K nanslp 1 0:00 0.00% cron 871 vermaden 1 5 5 5052K 3376K ttyin 1 0:00 0.00% zsh 19378 vermaden 1 20 5 5144K 3720K pause 0 0:00 0.00% zsh 749 vermaden 1 5 0 4992K 3316K ttyin 1 0:00 0.00% zsh 19368 vermaden 1 20 5 5072K 3668K pause 1 0:00 0.00% zsh >How-To-Repeat: cp a file to pendrive ... >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901231826.n0NIQYkw041687>