Re: access to hard drives is "blocked" by writes to a flash driv

看板FB_current作者時間12年前 (2013/04/27 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串19/34 (看更多)
--3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013-Mar-03 23:12:40 -0800, Don Lewis <truckman@freebsd.org> wrote: >On 4 Mar, Konstantin Belousov wrote: >> It could be argued that the current typical value of 16MB for the >> hirunningbufspace is too low, but experiments with increasing it did >> not provided any measureable change in the throughput or latency for >> some loads. > >The correct value is probably proportional to the write bandwidth >available. The problem is that write bandwidth varies widely depending on the workload. For spinning rust, this will vary between maybe 64KBps (512B random writes) and 100-150MBps (single-theaded large sequential writes). The (low-end) SSD in my Netbook also has about 100:1 variance due to erase blocking. How do you tune hirunningbufspace in the face of 2 or 3 orders of magnitude variance in throughput? Especially since SSDs don't gradually degrade - they hit a brick wall. --=20 Peter Jeremy --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlE0XWoACgkQ/opHv/APuIeHbACcCk/rPZvdWOaw39O04JSSk131 WZsAn1uwrzYpq9e+yPGGdfsz6a4rtRuC =MVQ7 -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--
文章代碼(AID): #1HUsBYRz (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 19 之 34 篇):
文章代碼(AID): #1HUsBYRz (FB_current)