phd_ru: (Default)
[personal profile] phd_ru
Не помогло. Новый супер-пупер накопитель тормозит в точности как прежний диск. Т.е. дело было не в диске вообще. В контроллере, что ли? Или всё-таки новое ядро, которое принёс Debian 9?

Для проверки скорости я перешёл с rsync на dd:
#! /bin/sh

cd "$HOME"/tmp &&
dd if="$HOME"/archive/test.dat of=/dev/null &&
dd if=/dev/zero of=test.dat bs=1M count=50
rm -f test.dat

Сразу после загрузки скорость просто супер:
154708+1 records in
154708+1 records out
79210550 bytes (79 MB, 76 MiB) copied, 0.172272 s, 460 MB/s
50+0 records in
50+0 records out
52428800 bytes (52 MB, 50 MiB) copied, 0.0492316 s, 1.1 GB/s

Но потом начинает падать:
154708+1 records in
154708+1 records out
79210550 bytes (79 MB, 76 MiB) copied, 0.151676 s, 522 MB/s
50+0 records in
50+0 records out
52428800 bytes (52 MB, 50 MiB) copied, 0.0620117 s, 845 MB/s

154708+1 records in
154708+1 records out
79210550 bytes (79 MB, 76 MiB) copied, 0.181379 s, 437 MB/s
50+0 records in
50+0 records out
52428800 bytes (52 MB, 50 MiB) copied, 0.281713 s, 186 MB/s

154708+1 records in
154708+1 records out
79210550 bytes (79 MB, 76 MiB) copied, 0.189007 s, 419 MB/s
^C2+0 records in
2+0 records out
2097152 bytes (2.1 MB, 2.0 MiB) copied, 2.36918 s, 885 kB/s

В этот момент уже опять надо перезагружаться.

Я решил, что нужно найти способ переинициализировать систему без перезагрузки. Хорошо бы гибернацию починить — D9 её сломал. В процессе отладки я прошёл инструкцию Debugging hibernation and suspend. В результате suspend-to-disk не отладил, но обнаружил, что
echo processors >/sys/power/pm_test &&
echo disk >/sys/power/state &&
echo none >/sys/power/pm_test

переинициализирует систему достаточно, чтобы вернуть диск в норму:
154708+1 records in
154708+1 records out
79210550 bytes (79 MB, 76 MiB) copied, 0.181896 s, 435 MB/s
50+0 records in
50+0 records out
52428800 bytes (52 MB, 50 MiB) copied, 0.0413523 s, 1.3 GB/s

Так жить можно; 5 секунд переинициализации без закрытия программ всё же лучше, чем перезагружаться через день.
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

January 2026

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 11th, 2026 06:26 pm
Powered by Dreamwidth Studios