Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2016 15:18:09 +0800
From:      =?GB2312?B?u8bOxLvU?= <huanghwh@163.com>
To:        =?GB2312?Q?Roger_Pau_Monn=A8=A6?= <royger@FreeBSD.org>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: Poor disk performance of FreeBSD under AWS
Message-ID:  <5C4F9BBA-5532-48A7-AEB1-64B83CFC2AA3@163.com>
In-Reply-To: <alpine.OSX.2.20.1603231418260.753@mac>
References:  <4a285458.9323.15388672651.Coremail.huanghwh@163.com> <91dc4bd.a112.15388868b7d.Coremail.huanghwh@163.com> <56EBDC2A.1020304@freebsd.org> <alpine.OSX.2.20.1603231418260.753@mac>

next in thread | previous in thread | raw e-mail | index | archive | help


> =D4=DA 2016=C4=EA3=D4=C223=C8=D5=A3=AC21:20=A3=ACRoger Pau Monn=A8=A6 <roy=
ger@FreeBSD.org> =D0=B4=B5=C0=A3=BA
>=20
>> On Fri, 18 Mar 2016, Julian Elischer wrote:
>>> 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" <huanghwh@163.com> wrote:
>>>> I have a EC2 server in AWS, 4CPU+16G ram, FreeBSD 10.2R.
>>>>=20
>>>> Use two command dd and vi:
>>>> dd if=3D/dev/zero of=3D/.swap bs=3D1M count=3D8192 &
>>>>=20
>>>> 8589934592 bytes transferred in 117.074462 secs (73371549 bytes/sec)
>>>>=20
>>>> when dd run in background, input vi command  to edit a small txt file
>>>> "d.txt" at same time,
>>>>=20
>>>> and then write and quit immediately:
>>>>=20
>>>>=20
>>>> /usr/bin/time vi d.txt
>>>>=20
>>>>=20
>>>> 49.82 real 0.00 user 0.00 sys
>>>>=20
>>>> 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
>>>>=20
>>>> vi need almost 50 seconds to quit.
>> I think some people are already looking at this.. it's not limited to AWS=
.
>=20
> Is there a PR or Review about this? I don't have a 16GB system at hand,=20=

> but it looks quite weird that it works "better" with 1GB rather than with=20=

> 16GB.

If you like, I can give you a server to try,  the server is at ALiYun, not A=
WS, but same problem.
>=20
> Are you using ZFS or UFS as your filesystem?

I am use UFS and ZFS


>=20
> Roger.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5C4F9BBA-5532-48A7-AEB1-64B83CFC2AA3>