Re: [PATCH] sheepdog: fine grained locking in write path
FUJITA Tomonori <[email protected]> Tue, 21 Apr 2015 18:47:53 +0900 (JST)
| Newsgroups | org.kernel.vger.stgt |
|---|---|
| Message-ID | <20150421.184753.1568838937885752472.fujita.tomonori@lab.ntt.co.jp> |
On Tue, 21 Apr 2015 18:33:53 +0900 Hitoshi Mitake <[email protected]> wrote: > Current sheepdog driver has a big write lock section. It harms write > performance significantly. This patch removes a needless big write > lock section with checking submitted requests can cause COW or > not. The write performance can be improved significantly. > > In a case of 4k rand write by fio: > - before: 1144 IOPS > - after: 19074 IOPS > > Signed-off-by: Hitoshi Mitake <[email protected]> > --- > usr/bs_sheepdog.c | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) Applied, thanks.