Score:0

What algorithm does the disk management system have in Ubuntu? (HDD)

jo flag

I want to know what algorithm does the disk management system have in Ubuntu (HDD), I mean if it is SSF, C-Scan, Scan etc.

Thx.

Score:1
in flag

Perhaps I’m misunderstanding the question, but I believe you’re asking about disk scheduling algorithms. If this is correct, then the following answer addresses the question.


Ubuntu uses multi-queue I/O schedulers for versions 19.10 to current. BFQ (Budget Fair Queueing) is the default scheduler for hard drives and solid state disks.

Other options include:

  • kyber
  • none
  • mq-deadline

You can check which scheduler Ubuntu is using for a given block device like this:

cat /sys/block/sda/queue/scheduler

The Ubuntu Wiki link above outlines how you can adjust your settings for each block device if you would like to try something different

jo flag
Thx @matigo, sorry for the bad explaining, yes i think, i was meaning the I/O for disk, like how the reader head read the disk (hdd) if read by sector, FCFS, etc
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.