From owner-freebsd-current@FreeBSD.ORG Fri Feb 12 21:02:36 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8016C1065672 for ; Fri, 12 Feb 2010 21:02:36 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-px0-f176.google.com (mail-px0-f176.google.com [209.85.216.176]) by mx1.freebsd.org (Postfix) with ESMTP id 561238FC0A for ; Fri, 12 Feb 2010 21:02:36 +0000 (UTC) Received: by pxi6 with SMTP id 6so2888307pxi.14 for ; Fri, 12 Feb 2010 13:02:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MtLQnZCFTi9tNj3vRO97l2S2UqgZcc1exR/C5TUbag4=; b=nXvLDgnksI+PT9fiPcn2BuMmvbxTpUllhvO8LP2hE4kKdJhlXUxap4Cc1ip6RhJGgJ 1IWTTd8AZGQz66pfaEhhsHLx47l44yi1kXnGKbPDJu1RtBQNNH5P8IjGGdlDYQXaU8tK YW15n36rQxwY5+qfivwJUteNGF7kkvnnSuQaI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=GrcH8cUW8GGjQQWjz8v/9RbtOTC0U9I9USbBcW90tcZ3R/70AFpi197KP7Rw2b2LEz ctnTuPugEXUrU8cMvL9jUUt3k+j7QwWb9+/kB/n5wP9845d2DebJyFiQOfaBczv/Dl6w niUDt98B8pCwLu87yNT7GYZl2VIOFfYFWRTaY= MIME-Version: 1.0 Received: by 10.142.8.5 with SMTP id 5mr1297898wfh.89.1266008555603; Fri, 12 Feb 2010 13:02:35 -0800 (PST) In-Reply-To: <4B75BFD7.6050107@delphij.net> References: <4B75A801.3040107@delphij.net> <7d6fde3d1002121241s45f1ba5dtb305ebe8f2beb15@mail.gmail.com> <4B75BFD7.6050107@delphij.net> Date: Fri, 12 Feb 2010 13:02:35 -0800 Message-ID: <7d6fde3d1002121302s6ae32cbar4a1c8fa6a36e4aeb@mail.gmail.com> From: Garrett Cooper To: d@delphij.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Current Subject: Re: time doesn't work? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 21:02:36 -0000 On Fri, Feb 12, 2010 at 12:53 PM, Xin LI 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 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 =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 0, 1 0, 1 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