| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: Performance problem - reads slower than writes |
| From: | Brian Candler <brian@xxxxxxxxxxxxxx> |
| Date: | Tue, 31 Jan 2012 21:52:10 +0000 |
| Cc: | Dave Chinner <david@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=XJls+1zohmJepjqaErFEBEqzQYI=; b=JxhLWRw SCEqrRp2JOal/5knO2Iuly+U6BeN4/cJlJg1U4efcTLnHOiRa8L798fXDHkcst3m MU+Pvr2na8c5v6cfIfMVUR7AZqb0TNIw8Nyg4NwYMTQ8g5qMEjq5R22rOAF8+ATX vB6yhBnd5mGVraPq7tVX6KJSXxdFuhvQ4rm4= |
| In-reply-to: | <20120131145205.GA6607@xxxxxxxxxxxxx> |
| References: | <20120130220019.GA45782@xxxxxxxx> <20120131020508.GF9090@dastard> <20120131103126.GA46170@xxxxxxxx> <20120131145205.GA6607@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Tue, Jan 31, 2012 at 09:52:05AM -0500, Christoph Hellwig wrote: > You don't just read a single file at a time but multiple ones, don't > you? It's sequential at the moment, although I'll do further tests with the -c (concurrency) option to bonnie++ > Try playing with the following tweaks to get larger I/O to the disk: > > a) make sure you use the noop or deadline elevators > b) increase /sys/block/sdX/queue/max_sectors_kb from its low default > c) dramatically increase > /sys/devices/virtual/bdi/<major>:<minor>/read_ahead_kb Thank you very much: I will do further tests with these. Is the read_ahead_kb knob aware of file boundaries? That is, is there any risk that if I set it too large it would read useless blocks past the end of the file? Regards, Brian. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [NOTES] [RFC v3 PATCH 4/4] xfs: Add a new field to fs_quota_stat to get pquota information, Phil White |
|---|---|
| Next by Date: | [NOTES] [patch] xfs: remove an unneeded NULL check, Phil White |
| Previous by Thread: | Re: Performance problem - reads slower than writes, Christoph Hellwig |
| Next by Thread: | Re: Performance problem - reads slower than writes, Raghavendra D Prabhu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |