LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-03-2014, 12:03 AM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
SSD Best I/O Scheduler?


Ok so the common wisdom here says that with SSD's you should use noop or deadline for your scheduler and not CFQ. However I saw that as far back as 2008 CFQ can recognize a SSD and act accordingly...


CFQ has some optimizations for SSDs and if it detects a non-rotational
media which can support higher queue depth (multiple requests at in
flight at a time), then it cuts down on idling of individual queues and
all the queues move to sync-noidle tree and only tree idle remains. This
tree idling provides isolation with buffered write queues on async tree.


This is taken right out of the kernel txt files.

My question is has anyone actually bench marked and tested which one is in fact best/fastest for SSD's?

Thanks
 
Old 10-03-2014, 08:30 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Not real benchmark here, but using samsung EVO SSD and hdparm -t test, I found Deadline scheduler slightly faster than other two, but it was by a very few margin
 
Old 10-03-2014, 09:58 AM   #3
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Here's a benchmark from a while back:
http://ubuntuforums.org/showthread.php?t=1464706

In my tests I got the same results regardless of media being SSD or HDD, deadline is the best. In fact, it is also best regardless of filesystem although I haven't tested all filesystems.
 
Old 10-03-2014, 04:35 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member Response

Hi,

If you match the 'SSD' to your system via optimization so that the cache & write back are functional(if the SSD supports write back) then noop works fine for me. If you are in need of database management then use 'deadline'.

Get your 'SSD' specifications then optimize your GNU/Linux based on that. Most modern kernels can be optimized for 'SSD' operations. Setup the specific device for a specific scheduler, do not make the scheduler system wide. Assign the scheduler to that device so you will not create a problem.

Be sure to do a LQ Search since this subject has been covered many times.
Hope this helps.
Have fun & enjoy!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] scheduler shri8 Linux - Newbie 3 06-25-2014 01:24 PM
what is 0(1) scheduler ? LinuxDreams Linux - Newbie 2 07-16-2013 02:29 AM
SSD raid1 vs SSD raid10 advice ? wonker Linux - Hardware 8 05-23-2012 01:46 AM
scheduler... os2 Programming 0 07-24-2004 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration