Skip to contentSkip to conversation

CFQ will be the new default IO scheduler - why?

DISCUSSION Paa Paa 3 participants 3 messages Jul 23, 2006 – Jul 24, 2006

lore
Share & tools
lore

Paa Paa

author
#0 lore raw

The default IO scheduler in 2.6.18 will be CFQ (Complete Fair Queuing) instead of AS (Anticipatory Scheduler) as described here: http://wiki.kernelnewbies.org/Linux_2_6_18. I tried to find (here, at lkml) the discussion about this change with no luck.

What is the reason CFQ will be the new default? What advantages it has over AS performance and feature wise? Any links to relevant and recent benchmarks?

And if there is a recent discussion about this online, a link would be greatly appreciated.

Best regards,
Paapaa

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

#1 lore raw
Quoted 4 lines · Paa Paa

The default IO scheduler in 2.6.18 will be CFQ (Complete Fair Queuing) instead of AS (Anticipatory Scheduler) as described here:
http://wiki.kernelnewbies.org/Linux_2_6_18. I tried to find (here, at lkml) the discussion about this change with no luck.

That wiki document nicely shows the advantage of the scheduler, namely that you have "ionice", which isn't possible for AS or Deadline Schedulers - this allows the operating system to run processes like updatedb with "nice I/O", meaning these hold when you're doing other I/O.

Signature · 1 line
Matthias Andree
#2 lore raw
Quoted 7 lines · Matthias Andree
Quoted 4 lines · Paa Paa

The default IO scheduler in 2.6.18 will be CFQ (Complete Fair Queuing) instead of AS (Anticipatory Scheduler) as described here:
http://wiki.kernelnewbies.org/Linux_2_6_18. I tried to find (here, at lkml) the discussion about this change with no luck.

Quoted 14 lines

That wiki document nicely shows the advantage of the scheduler, namely that you have "ionice", which isn't possible for AS or Deadline Schedulers - this allows the operating system to run processes like updatedb with "nice I/O", meaning these hold when you're doing other I/O.

Signature · 6 lines
Matthias Andree
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Should there be a default scheduler per filesystem? As some filesystems may perform better/worse with one over another?

Justin.