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, I have a FreeBSD 9.2 64 bit installed in a VM. The host is Windows 7 with vmware workstation, the host is using an advanced format (4k) harddisk. I have noticed there is strange write speed between /file and /tmp/file. /dev/da0p3 is UFS2 created by default installer. I am thinking if the problem is caused by disk alignment. da0p3 starting sector is 786594, which seems not aligned by 4k (786594 *512/4096=98324.25) The dd result is repeatable. [root@testing2 /]# df -P Filesystem 512-blocks Used Avail Capacity Mounted on /dev/da0p3 6518712 4621000 1376216 77% / devfs 2 2 0 100% /dev fdescfs 2 2 0 100% /dev/fd procfs 8 8 0 100% /proc host:hgfs 591368064 405571456 185796608 69% /mnt-hgfs [root@testing2 /]# gpart show da0 => 34 7548861 da0 GPT (3.6G) 34 128 1 freebsd-boot (64k) 162 786432 2 freebsd-swap (384M) 786594 6760448 3 freebsd-ufs (3.2G) 7547042 1853 - free - (926k) [root@testing2 /]# dd if=/dev/zero of=/tmp/file bs=50M count=4 4+0 records in 4+0 records out 209715200 bytes transferred in 10.303288 secs (20354202 bytes/sec) [root@testing2 /]# rm /tmp/file [root@testing2 /]# dd if=/dev/zero of=/tmp/file bs=50M count=4 4+0 records in 4+0 records out 209715200 bytes transferred in 9.789672 secs (21422087 bytes/sec) [root@testing2 /]# rm /tmp/file [root@testing2 /]# ~^C [root@testing2 /]# dd if=/dev/zero of=/file bs=50M count=4 4+0 records in 4+0 records out 209715200 bytes transferred in 6.826694 secs (30719877 bytes/sec) [root@testing2 /]# rm /file [root@testing2 /]# dd if=/dev/zero of=/file bs=50M count=4 4+0 records in 4+0 records out 209715200 bytes transferred in 6.955417 secs (30151348 bytes/sec) [root@testing2 /]# rm /file Thanks and regards, Patrick Dung 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>
