PostgreSQL I/O Scheduler Recommendation

Linode Staff

I'm running PostgreSQL on a Linode and was wondering if there is any advantage to using Deadline or Noop as an I/O Scheduler instead of the default CFQ.

3 Replies

From what I have read, throughput for CFQ seems to be a little faster than Deadline and Noop, though they all process information a little differently.

I found this blog post that goes pretty in depth in comparing these 3 and even benchmarks them:
https://blog.pgaddict.com/posts/postgresql-io-schedulers-cfq-noop-deadline

Hey, I seem to be unable to change the scheduler on my server, "echo {scheduler choice} > /sys/block/sda/queue/scheduler", as recommended by several forum and blog posts does not work.

Does anybody have any advice on how to set the scheduler on an Ubuntu linode instance?

You can change that in rescue mode, because the file is being used. Or you can change via grub bootloader

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct