J
Jeff Higgins
Hate to say this,
But I'm glad you did.
Today I first heard of I/O schedulers.
This is why I like following this group.
Hate to say this,
Schedule this. A memento for me.
Kernel Korner - I/O Schedulers - Robert Love
<http://www.linuxjournal.com/article/6931>
Hate to say this, but I was using a a box with a scheduler that was at
least as good as the Anticipatory Scheduler way back in 1972 on an ICL
1903S mainframe running the George 3 Mk 6 OS.
George 3 used a similar directory structure to Unix/Linux. Its i/o
scheduler was, however, quite a bit different. This maintained two i/o
queues and a vector for each disk. The vector kept book on where the
heads were and which direction they were travelling. One of the queues
held requests for blocks that were 'in front' of the heads and the other
queue held requests for blocks 'behind' the heads. Both queues were
sorted. When the 'in front' queue was empty, the queues were swapped and
the vector reversed, so in practise the heads floated smoothly back and
forth across the disk while sounding like castenet dancer on speed and
the i/o rate was much higher than earlier versions, without the i/o
scheduler, or the manual UDAS executive could manage.
[...]
The manpages for fflush()m and fsync() could be a little clearer, but I
read them as saying that both functions force a write to disk. The only
difference is the type of file reference argument they take: fflush()
takes a FILE* stream reference while fsync() takes an int file
description.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.