Re: [PATCH] aio: convert the ioctx list to radix tree

2013-03-22 Thread Octavian Purdila
On Fri, Mar 22, 2013 at 3:05 PM, Zach Brown wrote: > On Fri, Mar 22, 2013 at 08:33:19PM +0200, Octavian Purdila wrote: >> When using a large number of threads performing AIO operations the >> IOCTX list may get a significant number of entries which will cause >> significant overhead. For example,

Re: [PATCH] aio: convert the ioctx list to radix tree

2013-03-22 Thread Octavian Purdila
On Fri, Mar 22, 2013 at 1:36 PM, Kent Overstreet wrote: > On Fri, Mar 22, 2013 at 08:33:19PM +0200, Octavian Purdila wrote: >> When using a large number of threads performing AIO operations the >> IOCTX list may get a significant number of entries which will cause >> significant overhead. For exam

Re: [PATCH] aio: convert the ioctx list to radix tree

2013-03-22 Thread Zach Brown
On Fri, Mar 22, 2013 at 08:33:19PM +0200, Octavian Purdila wrote: > When using a large number of threads performing AIO operations the > IOCTX list may get a significant number of entries which will cause > significant overhead. For example, when running this fio script: Indeed. But you also need

Re: [PATCH] aio: convert the ioctx list to radix tree

2013-03-22 Thread Kent Overstreet
On Fri, Mar 22, 2013 at 08:33:19PM +0200, Octavian Purdila wrote: > When using a large number of threads performing AIO operations the > IOCTX list may get a significant number of entries which will cause > significant overhead. For example, when running this fio script: > > rw=randrw; size=256k ;

[PATCH] aio: convert the ioctx list to radix tree

2013-03-22 Thread Octavian Purdila
When using a large number of threads performing AIO operations the IOCTX list may get a significant number of entries which will cause significant overhead. For example, when running this fio script: rw=randrw; size=256k ;directory=/mnt/fio; ioengine=libaio; iodepth=1 blocksize=1024; numjobs=512;