Date: Fri, 22 Feb 2019 01:06:22 -0800 From: Enji Cooper <yaneurabeya@gmail.com> To: Rajesh Kumar <rajfbsd@gmail.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Any ideal way to run FIO benchmarking for NVMEe devices in FreeBSD Message-ID: <0E136DED-C1AD-481C-B243-C943D4F8D9C5@gmail.com> In-Reply-To: <CAAO%2BANM34aY4g%2BFjPdt8F2sNo5e6N2dZdTDKavEJwvRbNJz=Gw@mail.gmail.com> References: <CAAO%2BANM34aY4g%2BFjPdt8F2sNo5e6N2dZdTDKavEJwvRbNJz=Gw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Feb 22, 2019, at 12:51 AM, Rajesh Kumar <rajfbsd@gmail.com> wrote: >=20 > Hi, >=20 > I am trying to run FIO benchmark test with NVMe devices and see how = FreeBSD > performs. There are lot of variables and combination. So, can anyone > suggest a Ideal way to do FIO benchmarking in FreeBSD? My intent is to > check what is the maximum throughput and IOPS the device delivers in > FreeBSD. >=20 > Few questions regarding the same, >=20 > 1. Should we use "posixaio" as the ioengine (or) something else? > 2. Should we use single thread (or) multiple threads for test? If > multiple threads, how can we decide on the optimal thread count? > 3. Should we use "raw device files" (Eg: nvme namespace file - > /dev/nvme0ns1) without filesystem (or) use a mounted filesystem with = a > regular file (Eg: /mnt/nvme/test1). Looks like raw device files give = better > numbers. > 4. Should we use a shared file (or) one file per thread? > 5. I believe 1Job should be fine for benchmarking. (or) should we = try > multiple jobs? >=20 > Please let me know your suggestions. Also, please suggest performance > tuning methods for NVMe and storage devices in general. Hi Rajesh, Is there a data sheet for the NVMe device? Cheers, -Enji=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E136DED-C1AD-481C-B243-C943D4F8D9C5>