Date: Fri, 12 Feb 2010 13:02:35 -0800 From: Garrett Cooper <yanefbsd@gmail.com> To: d@delphij.net Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: time doesn't work? Message-ID: <7d6fde3d1002121302s6ae32cbar4a1c8fa6a36e4aeb@mail.gmail.com> In-Reply-To: <4B75BFD7.6050107@delphij.net> References: <4B75A801.3040107@delphij.net> <7d6fde3d1002121241s45f1ba5dtb305ebe8f2beb15@mail.gmail.com> <4B75BFD7.6050107@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 12, 2010 at 12:53 PM, Xin LI <delphij@delphij.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2010/02/12 12:41, Garrett Cooper wrote: >> On Fri, Feb 12, 2010 at 11:12 AM, Xin LI <delphij@delphij.net> wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> Hi, >>> >>> Can anyone shed me some light? =A0Can this be somehow related to some >>> weird userland setting (sysctl, loader, etc?) >>> >>> I just realized that for some reason time doesn't work (both builtin, >>> csh and /usr/bin/time). =A0I'm running a unmodified fresh -CURRENT kern= el >>> and userland: >>> >>> FreeBSD pcbsd-5265 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r203800: Fri Feb >>> 12 10:37:24 PST 2010 =A0 =A0 delphij@pcbsd-5265:/usr/obj/usr/src/sys/GE= NERIC >>> =A0amd64 >>> >>> =3D=3D=3D >>> >>> (See the '0.00u' stuff) and ignore the errors there. >>> >>> [delphij@pcbsd-5265]/mnt(112)% time gzip randomfile >>> load: 0.85 =A0cmd: gzip 8447 [running] 34.29r 0.00u 34.10s 98% 1476k >>> >>> /mnt: write failed, filesystem is full >>> gzip: write: No space left on device >>> gzip: output file: randomfile.gz wrong size (1673592832 !=3D -1), delet= ing >>> gzip: leaving original randomfile >>> 0.000u 85.063s 1:25.10 99.9% =A0 =A00+0k 12440+12839io 7pf+0w >> >> =A0 =A0 It's screwed up on RELENG_8 too (pulled as of approx. the 1st of= the month). > > Interestingly my laptop worked. =A0The system having problem is Core i7 > based and my laptop is T8300 (both Intel CPUs). =A0I have some local > changes to the source code on laptop but I believe they are unrelated. > > Which CPU are you using? =A0I saw some changes in MD part of code lately > but have not yet got a clue why this would happen... > > Cheers, > - -- > Xin LI <delphij@delphij.net> =A0 =A0http://www.delphij.net/ > FreeBSD - The Power to Serve! =A0 =A0 =A0 =A0 =A0Live free or die > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.14 (FreeBSD) > > iQEcBAEBAgAGBQJLdb/XAAoJEATO+BI/yjfBx4sIALuNcAmZmrankpJ1fY2UD9fJ > 0zyjcBE3cDActHyibCwZ5rll0yDotcFMYEqvDT95iIuuUgbwSmjS46sJP13UdzCR > mpCZNfMZxVix7AAPBigvQtKZtgLjJA6IKKjp6NxViJj4yAErkYTtmYjYAo3HXAIF > LtTnc8tdenl/5n+0J9pcCR741NyLBSFiXeV5d6SMd1Ttf2lR+4yMLpJgl4Ki4pAU > Agaszc5V1lvGWi7sm6fcmcGae9G+QQylfL4WLbDKSHM95bdBaO6xMhDnzGoWET1E > auiifRxgWduMduEhwdLHVbj9vLqYV1/ReRDSWKOLXuXa6PBDGTLo+DWPUmcDyjg=3D > =3D8ujk > -----END PGP SIGNATURE----- > [garrcoop@garrcoop-fbsd ~]$ time vim nose-plist-fix.diff # monkeyed around for a few seconds... real 0m5.753s user 0m0.047s sys 0m0.019s [garrcoop@garrcoop-fbsd ~/ipcvs/freebsd/src]$ time -p vim # pattered around for a few more seconds... real 12.04 user 0.07 sys 0.03 [garrcoop@garrcoop-fbsd ~/ipcvs/freebsd/src]$ uname -a FreeBSD garrcoop-fbsd.cisco.com 8.0-STABLE FreeBSD 8.0-STABLE #2: Wed Feb 3 16:57:07 PST 2010 garrcoop@garrcoop-fbsd.cisco.com:/usr/obj/usr/src/sys/LAPPY_X86 i386 [garrcoop@garrcoop-fbsd ~/ipcvs/freebsd/src]$ grep CPUTYPE /etc/make.conf CPUTYPE =3D prescott [garrcoop@garrcoop-fbsd ~/ipcvs/freebsd/src]$ grep ^cpu ~root/LAPPY_X86 cpu I686_CPU [garrcoop@garrcoop-fbsd ~/ipcvs/freebsd/src]$ sysctl -a | grep cpu kern.ccpu: 0 <cpu count=3D"2" mask=3D"0x3">0, 1</cpu> <cpu count=3D"2" mask=3D"0x3">0, 1</cpu> kern.smp.cpus: 2 kern.smp.maxcpus: 32 debug.cpufreq.verbose: 0 debug.cpufreq.lowest: 0 debug.kdb.stop_cpus: 1 debug.PMAP1changedcpu: 201 hw.ncpu: 2 hw.acpi.cpu.cx_lowest: C1 machdep.hlt_cpus: 0 machdep.hlt_logical_cpus: 0 machdep.logical_cpus_mask: 2 security.jail.param.cpuset.id: 0 dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=3D\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 1200 dev.cpu.0.freq_levels: 2001/35000 1750/30625 1600/25000 1400/21875 1200/16000 1050/14000 900/12000 800/14000 700/12250 600/10500 500/8750 400/7000 300/5250 200/3500 100/1750 dev.cpu.0.cx_supported: C1/1 C2/1 C3/17 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% last 500us dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu dev.cpu.1.%location: handle=3D\_PR_.CPU1 dev.cpu.1.%pnpinfo: _HID=3Dnone _UID=3D0 dev.cpu.1.%parent: acpi0 dev.cpu.1.cx_supported: C1/1 C2/1 C3/17 dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_usage: 100.00% 0.00% 0.00% last 500us dev.acpi_perf.0.%parent: cpu0 dev.acpi_perf.1.%parent: cpu1 dev.est.0.%parent: cpu0 dev.est.1.%parent: cpu1 dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 dev.cpufreq.1.%driver: cpufreq dev.cpufreq.1.%parent: cpu1 dev.p4tcc.0.%parent: cpu0 dev.p4tcc.1.%parent: cpu1 [garrcoop@garrcoop-fbsd ~/ipcvs/freebsd/src]$ Thanks :), -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d1002121302s6ae32cbar4a1c8fa6a36e4aeb>