Default debian installation is using cfq
scheduler for disk IO queue, it is widely known that for ssd deadline
is much better (while noop
can give higher performance in test, in real world it’s not that optimal).
I don’t know much about DO cloud internals, so the question is will I benefit switching to deadline
elevator?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Sorry to bump such an old thread, but I’m not sure where I should go to set the scheduler. Is the correct device
vda
?If so, I see
none
set as the scheduler (I’m running an Ubuntu 14.04 64-bit VM).If not, where do I set/change the scheduler? It’s not obvious from the available devices on my VM:
Thanks!
Strange, I was looking at the same thing today. I have the same question as Jeremy, I’m assuming it’s because we’re running DO’s kernel.
You can read more about the schedulers here: http://stackoverflow.com/questions/1009577/selecting-a-linux-i-o-scheduler/1010562#1010562 <br> <br>> noop is often the best choice for memory-backed block devices (e.g. ramdisks) and other non-rotational media (flash) where trying to reschedule I/O is a waste of resources <br> <br>It really depends on what you’re going to use your server for.
I’m also interested in this question (and the answer). But when you talk about better performance, what sort of workload are you referring to? Desktop PC type scenario or webserver?