Date: Thu, 24 Oct 2013 23:34:55 +0800 (SGT) From: Patrick Dung <patrick_dkt@yahoo.com.hk> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Strange write speed between /file and /tmp/file (may be related to 4k advanced format) Message-ID: <1382628895.17695.YahooMailNeo@web193502.mail.sg3.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hi,=0A=0AI have a FreeBSD 9.2 64 bit installed in a VM.=0AThe host is Windo= ws 7 with vmware workstation, the host is using an advanced format (4k) har= ddisk.=0A=0A=0AI have noticed there is strange write speed between /file an= d /tmp/file.=0A/dev/da0p3 is UFS2 created by default installer.=0A=0AI am t= hinking if the problem is caused by disk alignment.=0Ada0p3 starting sector= is 786594, which seems not aligned by 4k (786594 *512/4096=3D98324.25)=0AT= he dd result is repeatable.=0A=0A=0A[root@testing2 /]# df -P=0AFilesystem 5= 12-blocks=A0=A0=A0=A0=A0 Used=A0=A0=A0=A0 Avail Capacity=A0 Mounted on=0A/d= ev/da0p3=A0=A0=A0 6518712=A0=A0 4621000=A0=A0 1376216=A0=A0=A0 77%=A0=A0=A0= /=0Adevfs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 2=A0=A0=A0=A0=A0=A0=A0= =A0 2=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0 100%=A0=A0=A0 /dev=0Afdescfs=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 2=A0=A0=A0=A0=A0=A0=A0=A0 2=A0=A0=A0=A0=A0=A0= =A0=A0 0=A0=A0 100%=A0=A0=A0 /dev/fd=0Aprocfs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 8=A0=A0=A0=A0=A0=A0=A0=A0 8=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0 100%= =A0=A0=A0 /proc=0Ahost:hgfs=A0=A0 591368064 405571456 185796608=A0=A0=A0 69= %=A0=A0=A0 /mnt-hgfs=0A[root@testing2 /]# gpart show da0=0A=3D>=A0=A0=A0=A0= 34=A0 7548861=A0 da0=A0 GPT=A0 (3.6G)=0A=A0=A0=A0=A0=A0=A0 34=A0=A0=A0=A0= =A0 128=A0=A0=A0 1=A0 freebsd-boot=A0 (64k)=0A=A0=A0=A0=A0=A0 162=A0=A0 786= 432=A0=A0=A0 2=A0 freebsd-swap=A0 (384M)=0A=A0=A0 786594=A0 6760448=A0=A0= =A0 3=A0 freebsd-ufs=A0 (3.2G)=0A=A0 7547042=A0=A0=A0=A0 1853=A0=A0=A0=A0= =A0=A0 - free -=A0 (926k)=0A=0A[root@testing2 /]# dd if=3D/dev/zero of=3D/t= mp/file bs=3D50M count=3D4=0A4+0 records in=0A4+0 records out=0A209715200 b= ytes transferred in 10.303288 secs (20354202 bytes/sec)=0A[root@testing2 /]= # rm /tmp/file=0A[root@testing2 /]# dd if=3D/dev/zero of=3D/tmp/file bs=3D5= 0M count=3D4=0A4+0 records in=0A4+0 records out=0A209715200 bytes transferr= ed in 9.789672 secs (21422087 bytes/sec)=0A[root@testing2 /]# rm /tmp/file= =0A[root@testing2 /]# ~^C=0A[root@testing2 /]# dd if=3D/dev/zero of=3D/file= bs=3D50M count=3D4=0A4+0 records in=0A4+0 records out=0A209715200 bytes tr= ansferred in 6.826694 secs (30719877 bytes/sec)=0A[root@testing2 /]# rm /fi= le=0A[root@testing2 /]# dd if=3D/dev/zero of=3D/file bs=3D50M count=3D4=0A4= +0 records in=0A4+0 records out=0A209715200 bytes transferred in 6.955417 s= ecs (30151348 bytes/sec)=0A[root@testing2 /]# rm /file=0A=0AThanks and rega= rds,=0APatrick Dung=0A From owner-freebsd-questions@FreeBSD.ORG Thu Oct 24 16:10:28 2013 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 82CBABF for <freebsd-questions@freebsd.org>; Thu, 24 Oct 2013 16:10:28 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward3l.mail.yandex.net (forward3l.mail.yandex.net [IPv6:2a02:6b8:0:1819::3]) by mx1.freebsd.org (Postfix) with ESMTP id 458262880 for <freebsd-questions@freebsd.org>; Thu, 24 Oct 2013 16:10:28 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward3l.mail.yandex.net (Yandex) with ESMTP id D8D921500E68; Thu, 24 Oct 2013 20:10:26 +0400 (MSK) Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 879537E0795; Thu, 24 Oct 2013 20:10:26 +0400 (MSK) Received: from 87.249.28.58.tel.ru (87.249.28.58.tel.ru [87.249.28.58]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id IHXTEWE9dH-AQ4KI5v3; Thu, 24 Oct 2013 20:10:26 +0400 Message-ID: <52694671.6010305@passap.ru> Date: Thu, 24 Oct 2013 20:10:25 +0400 From: Boris Samorodov <bsam@passap.ru> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: dweimer@dweimer.net, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Anyone Using Eric4 IDE? References: <a166d4ff768fa61e52a5ab4e3d75e3da@dweimer.net> In-Reply-To: <a166d4ff768fa61e52a5ab4e3d75e3da@dweimer.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 24 Oct 2013 16:10:28 -0000 24.10.2013 01:08, dweimer пишет: > Just curious if anyone has been is successful using the Eric4 IDE on > their FreeBSD systems, I took a look at it a couple of months back, went > through some online tutorials using it, and was going to try it out for > some Python QT GUI code. When I first looked at it everything ran fine, > but now that I finally got around to trying to use it for something > beyond trying it out, I keep getting terminated with Signal 11 > Segmentation Fault from Python when ever I try just about anything. > > Core was generated by `python2.7'. > Program terminated with signal 11, Segmentation fault. > #0 0x0000000801232651 in ?? () > > Of course there have been several updates to the system since it was at > a working state, I have the same problem on two systems, my laptop and a > virtual machine running on my workstation, so its at least not specific > to the single machine, but both have fairly similar configurations and > ports installed. It just works for me. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1382628895.17695.YahooMailNeo>