[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
howtos:misc:howto_bfq_io_scheduler [2014/10/30 02:15 (UTC)] – [Use BFQ IO scheduler] ricky_cardo | howtos:hardware:bfq_io_scheduler [2014/12/18 02:42 (UTC)] – howtos:misc:howto_bfq_io_scheduler renamed to howtos:hardware:bfq_io_scheduler (Moved to the hardware section) mfillpot | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
====== Use BFQ IO scheduler ====== | ====== Use BFQ IO scheduler ====== | ||
| | ||
- | * Why do I want BFQ? -Seems to speed up disk based IO see the Source section for more info. | + | |
+ | * Why do I want BFQ? -Seems to speed up disk based IO see the Source section for more info. \\ | ||
| | ||
- | * First collect your existing kernel configuration. | + | |
- | <code bash> | + | zcat / |
+ | </ | ||
- | * Next prepare your BFQ_CONFIG file. (use vi or nano etc.) I like to locate " | + | |
- | <code bash> | + | CONFIG_IOSCHED_BFQ=y |
CONFIG_CGROUP_BFQIO=y | CONFIG_CGROUP_BFQIO=y | ||
# CONFIG_DEFAULT_DEADLINE is not set | # CONFIG_DEFAULT_DEADLINE is not set | ||
# CONFIG_DEFAULT_CFQ is not set | # CONFIG_DEFAULT_CFQ is not set | ||
- | CONFIG_DEFAULT_BFQ=y</ | + | CONFIG_DEFAULT_BFQ=y |
+ | </ | ||
- | * Now grab the code: (I'm using 3.14 in this sample as Slackware-current is currently using 3.14.18) | + | |
- | <code bash> | + | VERSION=3.14.0-v7r6 # the version you want |
wget -nd --no-parent --level 1 -r -R " | wget -nd --no-parent --level 1 -r -R " | ||
- | http:// | + | http:// |
+ | </ | ||
| | ||
- | * Next copy these files to / | + | |
- | <code bash> | + | |
cp ./000* / | cp ./000* / | ||
patch -p1 < 0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r6-3.14.patch | patch -p1 < 0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r6-3.14.patch | ||
Line 28: | Line 30: | ||
</ | </ | ||
- | * Now copy your config file to / | + | |
- | example: (assuming the config you created above is in your home directory) | + | cp $HOME/ |
- | <code bash> cp /$HOME/ | + | </ |
- | * cd / | + | |
- | * copy bzImage and System.map to boot folder | + | |
- | * add lilo entry and update lilo. | + | |
- | * More Details here [[howtos: | + | |
- | + | ||
+ | * copy bzImage and System.map to boot folder | ||
+ | * add lilo entry and update lilo. | ||
+ | |||
+ | * More Details here [[howtos: | ||
+ | |||
====== Sources ====== | ====== Sources ====== | ||
- | * Original source: [[http:// | + | |
- | <!-- Authors are allowed to give credit to themselves! --> | + | * Originally written by [[wiki: |
- | * Originally written by [[wiki: | + | * Idea from rpi work by ponce adding bfq |
- | < | + | |
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | <!-- You must remove the tag-word " | + | |
- | {{tag> | + | {{tag> |