Nie jesteś zalogowany na forum.

#1 2016-12-17 18:56:00

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Aktualizacja BFQ do wersji v8r6

Przygotowałem patch aktualizacyjny dla BFQ. Na stronie autora najnowszą wersją jest v8r4 - pomimo, iż na gicie można pobrać wersję oznaczoną v8r6-rc1. Jakiś czas temu udostępniłem dwie ważne poprawki (więcej informacji w tym wątku), teraz zebrałem wszystkie dotychczasowe poprawki (od momentu wydania v8r4) w jeden patch. Niedługo (może dziś, może w poniedziałek) zamieszczę poprawione PKGBUILD-y w AUR oraz na Gihubie. Tymczasem już teraz możecie skorzystać z patcha:

https://github.com/linusw/linux-bfq/com … c315.patch

Patch nakłada się poprawnie, kernel buduje się bez błędów:

==> Patching source with BFQ patches
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell-git/src/0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r11-4.8.0.patch
patching file block/Kconfig.iosched
patching file block/Makefile
patching file include/linux/blkdev.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell-git/src/0002-block-introduce-the-BFQ-v7r11-I-O-sched-to-be-ported.patch
patching file block/Kconfig.iosched
patching file block/bfq-cgroup.c
patching file block/bfq-ioc.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell-git/src/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r11-to-.patch
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell-git/src/0004-Turn-BFQ-v7r11-into-BFQ-v8r4-for-4.8.0.patch
patching file block/Kconfig.iosched
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell-git/src/0005-BFQ-update-to-v8r6.patch
patching file Documentation/block/00-INDEX
patching file Documentation/block/bfq-iosched.txt
patching file block/bfq-iosched.c
patching file Documentation/block/bfq-iosched.txt
patching file block/Kconfig.iosched
patching file block/bfq-iosched.c
patching file block/bfq-iosched.c
patching file Documentation/block/bfq-iosched.txt
patching file block/bfq-iosched.c
patching file Documentation/block/bfq-iosched.txt
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file Documentation/block/bfq-iosched.txt
patching file block/Kconfig.iosched
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq-iosched.c
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq-iosched.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq-sched.c
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h

Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

#2 2016-12-17 19:29:50

pavbaranov
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-22
Liczba postów: 1,653
WWW

Odp: Aktualizacja BFQ do wersji v8r6

I chwała Ci za to. Proponuję takie rozwiązanie:
w source umieścić

"0005-BFQ.patch::https://github.com/linusw/linux-bfq/compare/f6547d1f8...316c315.patch"

a potem, dla nałożenia łatki w sekcji prepare:

    ### Patch source with BFQ
        msg "Patching source with BFQ patches"
        patch -Np1 -i "{srcdir}/0001-BFQ.patch"

Nazwa pliku - tu 0005-BFQ.patch - może być dowolna, musimy ją zainstalować po nałożeniu patcha BFQ w wersji v8r4.


Hardware: AMD: A8-7410 APU with Radeon R5
Software (podaję wyłącznie odrębności): Arch testing+kde-unstable, kernel linux-pb (4.19.8 m.in. PDS, UKSM, BFQ-MQ/SQ), amdgpu (dla CIK), KDE, patche z POLAUR

Offline

#3 2016-12-17 22:00:14

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Odp: Aktualizacja BFQ do wersji v8r6

Po przebudowie kernela:

[lucjan@archlinux ~]$ zgrep -i MHASWELL /proc/config.gz && dmesg | grep scheduler && cat /proc/version && uname -a
CONFIG_MHASWELL=y
[    0.479335] io scheduler noop registered
[    0.479341] io scheduler cfq registered
[    0.479364] io scheduler bfq registered (default)
[    0.479365] BFQ I/O-scheduler: v8r6-rc1 (with cgroups support)
Linux version 4.8.15-2-bfq-haswell (lucjan@archlinux) (gcc version 6.2.1 20160830 (GCC) ) #1 SMP PREEMPT Sat Dec 17 18:07:22 CET 2016
Linux archlinux 4.8.15-2-bfq-haswell #1 SMP PREEMPT Sat Dec 17 18:07:22 CET 2016 x86_64 GNU/Linux

Wszystko działa.


Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

#4 2016-12-17 23:21:56

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Odp: Aktualizacja BFQ do wersji v8r6

Źródła zostały zamieszczone w AUR oraz na Githubie.


Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

#5 2016-12-18 21:10:14

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Odp: Aktualizacja BFQ do wersji v8r6

Udostępniam nową wersję patcha aktualizującego do BFQ v8r6:

https://github.com/linusw/linux-bfq/com … 5c0f.patch

Jutro zaktualizuję w/w źródła w AUR oraz na Githubie.


Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

#6 2016-12-19 08:59:34

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Odp: Aktualizacja BFQ do wersji v8r6

Aktualizacja patcha do wersji v8r6-rc2:

https://github.com/linusw/linux-bfq/com … 90c7.patch

Poprawki zostaną dodane na AUR wieczorem.


Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

#7 2016-12-19 11:57:33

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Odp: Aktualizacja BFQ do wersji v8r6

Paolo nie zwalnia tempa - aktualizacja do wersji v8r6-rc3:

https://github.com/linusw/linux-bfq/com … 0b7c.patch


Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

#8 2016-12-19 16:51:47

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Odp: Aktualizacja BFQ do wersji v8r6

Patch nakłada się poprawnie:

==> Patching source with BFQ patches
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell/src/0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r11-4.8.0.patch
patching file block/Kconfig.iosched
patching file block/Makefile
patching file include/linux/blkdev.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell/src/0002-block-introduce-the-BFQ-v7r11-I-O-sched-to-be-ported.patch
patching file block/Kconfig.iosched
patching file block/bfq-cgroup.c
patching file block/bfq-ioc.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell/src/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r11-to-.patch
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell/src/0004-Turn-BFQ-v7r11-into-BFQ-v8r4-for-4.8.0.patch
patching file block/Kconfig.iosched
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell/src/0005-BFQ-update-to-v8r6.patch
patching file Documentation/block/00-INDEX
patching file Documentation/block/bfq-iosched.txt
patching file block/bfq-iosched.c
patching file Documentation/block/bfq-iosched.txt
patching file block/Kconfig.iosched
patching file block/bfq-iosched.c
patching file block/bfq-iosched.c
patching file Documentation/block/bfq-iosched.txt
patching file block/bfq-iosched.c
patching file Documentation/block/bfq-iosched.txt
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file Documentation/block/bfq-iosched.txt
patching file block/Kconfig.iosched
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq-iosched.c
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq-iosched.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq-sched.c
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file block/bfq-sched.c
patching file block/bfq-sched.c
patching file block/bfq-iosched.c
patching file block/bfq.h

Jeśli kernel zbuduje się prawidłowo, zaktualizuję źródła.


Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

#9 2016-12-19 19:25:24

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Odp: Aktualizacja BFQ do wersji v8r6

Zaktualizowałem źródła.


Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

#10 2016-12-19 22:36:06

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Odp: Aktualizacja BFQ do wersji v8r6

Kernel działa prawidłowo:

[lucjan@archlinux ~]$ zgrep -i MHASWELL /proc/config.gz && dmesg | grep scheduler && cat /proc/version && uname -a
CONFIG_MHASWELL=y
[    0.479929] io scheduler noop registered
[    0.479937] io scheduler cfq registered
[    0.479960] io scheduler bfq registered (default)
[    0.479961] BFQ I/O-scheduler: v8r6-rc3 (with cgroups support)
Linux version 4.8.15-3-bfq-haswell (lucjan@archlinux) (gcc version 6.2.1 20160830 (GCC) ) #1 SMP PREEMPT Mon Dec 19 18:27:42 CET 2016
Linux archlinux 4.8.15-3-bfq-haswell #1 SMP PREEMPT Mon Dec 19 18:27:42 CET 2016 x86_64 GNU/Linux

Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

#11 2016-12-19 22:45:19

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Odp: Aktualizacja BFQ do wersji v8r6


Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

#12 2016-12-20 17:17:59

sir_lucjan
Administrator
Lokalizacja: Kraków
Data rejestracji: 2015-08-20
Liczba postów: 839

Odp: Aktualizacja BFQ do wersji v8r6

Patch nakłada się poprawnie:

==> Patching source with BFQ patches
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell/src/0001-block-cgroups-kconfig-build-bits-for-BFQ-v7r11-4.8.0.patch
patching file block/Kconfig.iosched
patching file block/Makefile
patching file include/linux/blkdev.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell/src/0002-block-introduce-the-BFQ-v7r11-I-O-sched-to-be-ported.patch
patching file block/Kconfig.iosched
patching file block/bfq-cgroup.c
patching file block/bfq-ioc.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell/src/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r11-to-.patch
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell/src/0004-Turn-BFQ-v7r11-into-BFQ-v8r4-for-4.8.0.patch
patching file block/Kconfig.iosched
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
==>  /home/lucjan/Pracownia/Teraz/kernel/testing/linux-bfq-haswell/src/0005-BFQ-update-to-v8r6.patch
patching file Documentation/block/00-INDEX
patching file Documentation/block/bfq-iosched.txt
patching file block/bfq-iosched.c
patching file Documentation/block/bfq-iosched.txt
patching file block/Kconfig.iosched
patching file block/bfq-iosched.c
patching file block/bfq-iosched.c
patching file Documentation/block/bfq-iosched.txt
patching file block/bfq-iosched.c
patching file Documentation/block/bfq-iosched.txt
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file Documentation/block/bfq-iosched.txt
patching file block/Kconfig.iosched
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq-iosched.c
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq-iosched.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq-sched.c
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file block/bfq-cgroup.c
patching file block/bfq-iosched.c
patching file block/bfq-sched.c
patching file block/bfq.h
patching file block/bfq.h
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file block/bfq-sched.c
patching file block/bfq-sched.c
patching file block/bfq-iosched.c
patching file block/bfq.h
patching file block/bfq-sched.c
patching file block/bfq.h

Kolejne commity NIE działają już z kernelem z linii 4.8.


Dell Inspiron 15-3542 (3542-2538) || Arch Linux || [linux-lucjan-git]
[AUR]  [GitHub]  [GitLab]

Offline

Stopka

Napędzają nas PacmanVPS i MegiTeam

Forum oparte na FluxBB