Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2016 14:26:14 +0800 (CST)
From:      huanghwh <huanghwh@163.com>
To:        freebsd-virtualization@freebsd.org
Subject:   Poor disk performance of FreeBSD under AWS
Message-ID:  <4a285458.9323.15388672651.Coremail.huanghwh@163.com>

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

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.

any ideas?

Huang Wen Hui

&	ޭy*bͫbwyvj|ӽ4ߝפ^=a	ޭy*bͫbwyv
bu:盱ۚ,ڶ*'yvE~&_盱+lu~nh]}M獴}ռj)fj|y_"13t8~߭盱ۚ,ڶ*'yvƫMzӽ4ߟML'hhnjx!z&E~&]}z&]}z&m5]wmlu~nhDLנ]t+~nonjXjبy-|1^M74E	zZ)yp^r(	ڶ

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4a285458.9323.15388672651.Coremail.huanghwh>