From owner-freebsd-virtualization@freebsd.org Fri Mar 18 10:45:32 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14926AD4F5C for ; Fri, 18 Mar 2016 10:45:32 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E661811C3 for ; Fri, 18 Mar 2016 10:45:31 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-229-231.lns20.per1.internode.on.net [121.45.229.231]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u2IAj4Vf049559 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 18 Mar 2016 03:45:09 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: Poor disk performance of FreeBSD under AWS To: huanghwh References: <4a285458.9323.15388672651.Coremail.huanghwh@163.com> <91dc4bd.a112.15388868b7d.Coremail.huanghwh@163.com> Cc: freebsd-virtualization@freebsd.org From: Julian Elischer Message-ID: <56EBDC2A.1020304@freebsd.org> Date: Fri, 18 Mar 2016 18:44:58 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <91dc4bd.a112.15388868b7d.Coremail.huanghwh@163.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2016 10:45:32 -0000 On 18/03/2016 3:00 PM, huanghwh wrote: > BTW, with 1G ram configuration, vi can exit very quickly. > At 2016-03-18 14:26:14, "huanghwh" wrote: >> I have a EC2 server in AWS, 4CPU+16G ram, FreeBSD 10.2R. >> >> Use two command dd and vi: >> dd if=/dev/zero of=/.swap bs=1M count=8192 & >> >> 8589934592 bytes transferred in 117.074462 secs (73371549 bytes/sec) >> >> when dd run in background, input vi command to edit a small txt file "d.txt" at same time, >> >> and then write and quit immediately: >> >> >> /usr/bin/time vi d.txt >> >> >> 49.82 real 0.00 user 0.00 sys >> >> in top command show: >> 810 root 1 23 0 12344K 2524K wswbuf 0 0:04 5.76% dd >> 821 root 1 20 0 23448K 4092K wdrain 0 0:00 0.00% vi >> >> vi need almost 50 seconds to quit. I think some people are already looking at this.. it's not limited to AWS. >> any ideas? >> >> Huang Wen Hui >> >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" >