IO latency/throughput fixes
From: | Jens Axboe <jens.axboe@oracle.com> | |
To: | linux-kernel@vger.kernel.org | |
Subject: | [PATCH 0/8][RFC] IO latency/throughput fixes | |
Date: | Mon, 6 Apr 2009 14:48:00 +0200 | |
Message-ID: | <1239022088-29002-1-git-send-email-jens.axboe@oracle.com> | |
Cc: | tytso@mit.edu, torvalds@linux-foundation.org | |
Archive‑link: | Article |
Hi, This is a set of patches that I worked on today in the hopes of furthering the latency goals and at least fixing some of the write regression with fwrite + fsync that current -git is suffering from. I haven't done any latency tests yet, I'm just tossing this out there so we can collaborate on improving things. What I did test was the silly fwrite() + fsync() loop test, which is a LOT slower in current -git that it used to be. The test is basically: while (nr--) { f = fopen(); fprintf(f, "Some data here\n"); fsync(fileno(f)); fclose(f); } which (for nr == 2000) takes 16 seconds in -git, completes in 0.9s with the patches. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/