![]() |
2011-05-31
, 14:24
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#21
|
![]() |
2011-06-01
, 04:01
|
|
Posts: 1,030 |
Thanked: 792 times |
Joined on Jun 2009
|
#22
|
![]() |
2011-06-01
, 08:33
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#23
|
![]() |
2011-06-01
, 11:04
|
Posts: 284 |
Thanked: 320 times |
Joined on May 2010
@ Peterborough, UK
|
#24
|
For instance anticipatory scheduler focuses on contiunous read and avoiding head movement which is not the case for flash drives.
Completely different rules apply here.
The community (Linux SSD) recommends NOOP or DEADLINE schedulers, I prefered DEADLINE for it's focus on preventing read starvation.
It works the best (elevator = deadline) for my Asus EEE PC 901 with SSD drives and attached SD cards.
Writes are slower, but there's much less lag when browsing web or opening folders because "read" operations have priority.
The same seems to work on my Galaxy S with stock JM1 with or without one-click-lag-fix.
![]() |
2011-06-01
, 18:16
|
Posts: 145 |
Thanked: 91 times |
Joined on Jun 2010
|
#25
|
Ok, I've built the latest BFS from git tree, with both deadline and anticipatory enabled as modules within the config. Everything runs as smoothly as before, with no added overhead. To enable either one of them, you have to echo deadline or anticipatory to /sys/block/mmcblk0/queue/scheduler - this seems to automagically insert the corresponding module (probably best to rmmod if you then change back to noop or cfq at a later date, though, as they stay loaded). I did find a thread regarding anticipatory on Android and found this snippet to be quite interesting:
..which makes me think deadline might be the best scheduler to use, even though the N900's drive isn't exactly an SSD?
![]() |
2011-06-19
, 22:53
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#26
|
The Following User Says Thank You to joerg_rw For This Useful Post: | ||
![]() |
2011-06-19
, 23:46
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#27
|
![]() |
2012-03-14
, 02:03
|
Posts: 43 |
Thanked: 18 times |
Joined on May 2010
@ Sydney
|
#28
|
![]() |
2012-03-14
, 07:21
|
Posts: 370 |
Thanked: 443 times |
Joined on Jan 2006
@ Italy
|
#29
|
The Following User Says Thank You to jurop88 For This Useful Post: | ||
![]() |
2012-03-14
, 08:02
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#30
|
Now I don't remember exactly - I worked on that a long ago - but there is a policy file written and compiled in Prolog (?) somewhere read by ohmd - and it's responsible for that.
Long story short, what I remember is that I resigned after a lot of searching. Now I am really short on time for next month, but if you are interested in looking at that I can look for my knowledge and send everything to you - some material found on wikis, irc logs and the like
The Following 4 Users Say Thank You to freemangordon For This Useful Post: | ||