Skip to contentSkip to conversation

cfq-iosched: a regression

DISCUSSION Shaohua Li 3 participants 4 messages Aug 16, 2011 – Aug 19, 2011

lore
Share & tools
lore

Shaohua Li

author
#0 lore raw

We have a kernel build regression since 3.1-rc1, which is about 10% regression. The kernel source is in an ext3 filesystem. Alex Shi bisect it to commit:
commit a07405b7802691d29ab3b23bdc76ee6d006aad0b

Author: Justin TerAvest <[email protected]>
Date:   Sun Jul 10 22:09:19 2011 +0200

cfq: Remove special treatment for metadata rqs.

Apparently this is caused by lack metadata preemption, where ext3/ext4 do use READ_META. I didn't see a way to fix the issue, so suggest reverting the patch.

#1 lore raw

Hi Shaohua,

What was the workload you were running to find this regression?

Quoted 17 lines · Shaohua Li

We have a kernel build regression since 3.1-rc1, which is about 10% regression. The kernel source is in an ext3 filesystem. Alex Shi bisect it to commit:
commit a07405b7802691d29ab3b23bdc76ee6d006aad0b
Author: Justin TerAvest <[email protected]>
Date:   Sun Jul 10 22:09:19 2011 +0200

   cfq: Remove special treatment for metadata rqs.

Apparently this is caused by lack metadata preemption, where ext3/ext4 do use READ_META. I didn't see a way to fix the issue, so suggest reverting the patch.

author
#2 lore raw
Quoted 3 lines · Justin TerAvest

Hi Shaohua,

What was the workload you were running to find this regression?

kernel build as I declared below.

Thanks,
Shaohua

Quoted 18 lines · Shaohua Li
Quoted 17 lines

We have a kernel build regression since 3.1-rc1, which is about 10% regression. The kernel source is in an ext3 filesystem. Alex Shi bisect it to commit:
commit a07405b7802691d29ab3b23bdc76ee6d006aad0b

Author: Justin TerAvest <[email protected]>
Date:   Sun Jul 10 22:09:19 2011 +0200

cfq: Remove special treatment for metadata rqs.

Apparently this is caused by lack metadata preemption, where ext3/ext4 do use READ_META. I didn't see a way to fix the issue, so suggest reverting the patch.

#3 lore raw
In reply to Shaohua Li
Quoted 7 lines · Shaohua Li

We have a kernel build regression since 3.1-rc1, which is about 10% regression. The kernel source is in an ext3 filesystem. Alex Shi bisect it to commit:
commit a07405b7802691d29ab3b23bdc76ee6d006aad0b

Author: Justin TerAvest <[email protected]>
Date:   Sun Jul 10 22:09:19 2011 +0200
Quoted 8 lines

cfq: Remove special treatment for metadata rqs.

Apparently this is caused by lack metadata preemption, where ext3/ext4 do use READ_META. I didn't see a way to fix the issue, so suggest reverting the patch.

I had a gut feeling on that meta data, it's hard to know exactly where it helps at this point. I'll revert the commit and then we can diagnose this on the side.

Signature · 1 line
Jens Axboe