* [Hardware] hdparm settings @ 2006-01-17 12:13 anyr 2006-01-17 20:09 ` Artem 2006-01-18 11:41 ` [Hardware] " Вадим Илларионов 0 siblings, 2 replies; 10+ messages in thread From: anyr @ 2006-01-17 12:13 UTC (permalink / raw) To: ALT Linux Community, ALT Linux Hardware Как мне сохранить параметры hdparm. Вроде как ключ -k1 это должен делать, но как-то не выходит. Ключ -K1 вовсе не поддерживается моей железякой. После перезагрузки все равно получаю IO_support = 0 (default 16-bit), а хочется 32. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Hardware] hdparm settings 2006-01-17 12:13 [Hardware] hdparm settings anyr @ 2006-01-17 20:09 ` Artem 2006-01-18 11:41 ` [Hardware] " Вадим Илларионов 1 sibling, 0 replies; 10+ messages in thread From: Artem @ 2006-01-17 20:09 UTC (permalink / raw) To: hardware, anyr anyr wrote: >Как мне сохранить параметры hdparm. Вроде как ключ -k1 это >должен делать, но как-то не выходит. Ключ -K1 вовсе не >поддерживается моей железякой. После перезагрузки все равно >получаю IO_support = 0 (default 16-bit), а хочется 32. > > > > Эти ключи не обеспечат (и не могут обеспечить) сохранения параметров в случае перезагрузки _всей_ системы (внимательно прочтите man hdparm по -k и -K). Настройки сохраняются между перезагрузками в /etc/sysconfig/harddisks . Подредактируйте его по вкусу :-) -- Rgds, Artem. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Hardware] Re: hdparm settings 2006-01-17 12:13 [Hardware] hdparm settings anyr 2006-01-17 20:09 ` Artem @ 2006-01-18 11:41 ` Вадим Илларионов 2006-01-18 11:58 ` Вадим Илларионов 2006-01-18 12:08 ` Artem 1 sibling, 2 replies; 10+ messages in thread From: Вадим Илларионов @ 2006-01-18 11:41 UTC (permalink / raw) To: hardware; +Cc: community [-- Attachment #1: Type: text/plain, Size: 1184 bytes --] hanyr wrote: > Как мне сохранить параметры hdparm. Вроде как ключ -k1 это > должен делать, но как-то не выходит. Ключ -K1 вовсе не > поддерживается моей железякой. После перезагрузки все равно > получаю IO_support = 0 (default 16-bit), а хочется 32. Не первый год живу с переписанными инитами, которые почти всё, что можно, берут из возможностей самого винта, и, соответственно, "енаблят" их по максимуму. А сидюкам, напротив, дают острастку до приличествующих 32х. В прицепах - /etc/sysconfig/harddisks и /etc/rc.d/scripts/idetune (ХтоИзКу - думаю, разберётесь). При этом на текущей машине (как и на всех прочих): # hdparm -c /dev/hda /dev/hda: IO_support = 3 (32-bit w/sync) Ну, и прочие фенечки, типа: # hdparm -i /dev/hda | grep MultSect BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16 без выкрутасов с /etc/sysconfig/harddisks и /etc/sysconfig/harddisk/hdX. В последний каталог только совсем запущенные случаи прописывал. И то - всего пару раз. ________________________ С уважением, Вадим Илларионов системный администратор Усолье-Сибирский почтамт JID: см. <mailto:> UIN: 7899517 Телефоны: Мобильный +7 904 658-4154 Рабочий +7 39543 444-00 [-- Attachment #2: harddisks --] [-- Type: application/x-shellscript, Size: 1348 bytes --] [-- Attachment #3: idetune --] [-- Type: application/x-shellscript, Size: 2220 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Hardware] Re: hdparm settings 2006-01-18 11:41 ` [Hardware] " Вадим Илларионов @ 2006-01-18 11:58 ` Вадим Илларионов 2006-01-18 15:14 ` anyr 2006-01-18 12:08 ` Artem 1 sibling, 1 reply; 10+ messages in thread From: Вадим Илларионов @ 2006-01-18 11:58 UTC (permalink / raw) To: hardware; +Cc: community Вдогонку. Перекраивал не год и даже не пятилетку назад. Конструкция вида: MULTIPLE_IO=`$HDPARM -i /dev/hd$i | grep "MaxMultSect=" | cut -d, -f3 | cut -d= -f2` давно не представляется идеальной, но... оптимизировать лениво. Вероятно, и другие ляпы есть. Однако - работает. И на приличном количестве машин. И не только в моей епархии-юрисдикции. Тем не менее, буду рад любым поправкам и озарениям. ________________________ С уважением, Вадим Илларионов системный администратор Усолье-Сибирский почтамт JID: см. <mailto:> UIN: 7899517 Телефоны: Мобильный +7 904 658-4154 Рабочий +7 39543 444-00 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Hardware] Re: hdparm settings 2006-01-18 11:58 ` Вадим Илларионов @ 2006-01-18 15:14 ` anyr 2006-01-19 16:02 ` Artem 0 siblings, 1 reply; 10+ messages in thread From: anyr @ 2006-01-18 15:14 UTC (permalink / raw) To: hardware, master В сообщении от 18 Январь 2006 11:58 Вадим Илларионов написал(a): > MULTIPLE_IO=`$HDPARM -i /dev/hd$i | grep "MaxMultSect=" | > cut -d, -f3 | cut -d= -f2` Мне как было проще посмотреть на значение MaxMultSect после hdparm -i /dev/hda/ А что касается сидюка... А есть ли смысл в ограничениях скорости. На моей машине только раз диск разнесло. И то он был заведомо с неслабой радиальной трещиной от центра. Меня рядом тогда не было. А Scot Henderson "Tore Down House" разлетелся на такое количество кусочков, что можно было млечный путь выкладывать, когда закончил материться и все высыпал из сидюка. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Hardware] Re: hdparm settings 2006-01-18 15:14 ` anyr @ 2006-01-19 16:02 ` Artem 0 siblings, 0 replies; 10+ messages in thread From: Artem @ 2006-01-19 16:02 UTC (permalink / raw) To: hardware, anyr anyr wrote: >В сообщении от 18 Январь 2006 11:58 Вадим Илларионов >написал(a): > > >>MULTIPLE_IO=`$HDPARM -i /dev/hd$i | grep "MaxMultSect=" | >>cut -d, -f3 | cut -d= -f2` >> >> >Мне как было проще посмотреть на значение MaxMultSect после >hdparm -i /dev/hda/ > >А что касается сидюка... А есть ли смысл в ограничениях >скорости. > Вой, разгоны-торможения (c потерей времени на них), реально на 52 читается меньшая часть дисков (и на 52-х ли ?). >На моей машине только раз диск разнесло. И то он >был заведомо с неслабой радиальной трещиной от центра. Меня >рядом тогда не было. > При плохой балансировке диска - может и целый с виду (без трещин) разлететься. Особенно диски с отпечатанными на поверхности рисунками - вибрируют зверски. > А Scot Henderson "Tore Down House" >разлетелся на такое количество кусочков, что можно было >млечный путь выкладывать, когда закончил материться и все >высыпал из сидюка. > > Вам еще повезло, что Вы высыпали из сидюка только обломки диска. Случается - высыпают впридачу к обломкам срезанные/оторванные линзы/головки/порезанные в капусту шлейфы. :-) P.S. А cd-диски классно разлетаются. Однажды для интереса решил "сломать" диск - согнул почти в трубку - не ломается. Думал - все, не удастся - тут резкий хлопок и шелест по всей комнате. Как не порезался - не знаю, как в глаза чего не попало - тоже не знаю, но все было утыкано/усыпано мелкими "иголками"-осколками от диска. Если решитесь повторить опыт - советую защитную маску одевать :-) . Ну и руковицы до кучи. -- Rgds, Artem. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Hardware] Re: hdparm settings 2006-01-18 11:41 ` [Hardware] " Вадим Илларионов 2006-01-18 11:58 ` Вадим Илларионов @ 2006-01-18 12:08 ` Artem 2006-01-18 12:29 ` Вадим Илларионов 1 sibling, 1 reply; 10+ messages in thread From: Artem @ 2006-01-18 12:08 UTC (permalink / raw) To: hardware, master Вадим Илларионов wrote: > >максимуму. А сидюкам, напротив, дают острастку до приличествующих 32х. > > Кстати, а хорошая идея. Может в bugzilla забросить подобное новшество? Если другие "за". -- Rgds, Artem. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [Hardware] Re: hdparm settings 2006-01-18 12:08 ` Artem @ 2006-01-18 12:29 ` Вадим Илларионов 2006-01-28 16:24 ` Michael Shigorin 0 siblings, 1 reply; 10+ messages in thread From: Вадим Илларионов @ 2006-01-18 12:29 UTC (permalink / raw) To: hardware Artem wrote: > Кстати, а хорошая идея. Может в bugzilla забросить подобное новшество? > Если другие "за". Да я, вроде бы, и не против. Просто года эдак 3-4 назад, после вполне себе показательной обкатки, я предлагал этот вариант сообществу. Но кто-то из альтовцев что-то возразил. Не помню уж, насколько обоснованно. Упираться рогом, доказывая, что рогатых верблюдов не бывает, было 05-таки лениво. Так оно и повелось. Может, за утекшие воды что-то поменялось, разве... ________________________ С уважением, Вадим Илларионов системный администратор Усолье-Сибирский почтамт JID: см. <mailto:> UIN: 7899517 Телефоны: Мобильный +7 904 658-4154 Рабочий +7 39543 444-00 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Hardware] Re: hdparm settings 2006-01-18 12:29 ` Вадим Илларионов @ 2006-01-28 16:24 ` Michael Shigorin 2006-01-29 13:18 ` anyr 0 siblings, 1 reply; 10+ messages in thread From: Michael Shigorin @ 2006-01-28 16:24 UTC (permalink / raw) To: hardware On Wed, Jan 18, 2006 at 08:29:51PM +0800, Вадим Илларионов wrote: > > Кстати, а хорошая идея. Может в bugzilla забросить подобное > > новшество? Если другие "за". > Да я, вроде бы, и не против. Просто года эдак 3-4 назад, после > вполне себе показательной обкатки, я предлагал этот вариант > сообществу. Но кто-то из альтовцев что-то возразил. Не помню > уж, насколько обоснованно. Упираться рогом, доказывая, что > рогатых верблюдов не бывает, было 05-таки лениво. Так оно и > повелось. Может, за утекшие воды что-то поменялось, разве... Эээ... пропустил начало темы, можете повторить для отставших? -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Hardware] Re: hdparm settings 2006-01-28 16:24 ` Michael Shigorin @ 2006-01-29 13:18 ` anyr 0 siblings, 0 replies; 10+ messages in thread From: anyr @ 2006-01-29 13:18 UTC (permalink / raw) To: hardware В сообщении от 28 Январь 2006 16:24 Michael Shigorin написал(a): > Эээ... пропустил начало темы, можете повторить для > отставших? Q: Как мне сохранить параметры hdparm. Вроде как ключ -k1 это должен делать, но как-то не выходит. Ключ -K1 вовсе не поддерживается моей железякой. После перезагрузки все равно получаю IO_support = 0 (default 16-bit), а хочется 32. A1: Эти ключи не обеспечат (и не могут обеспечить) сохранения параметров в случае перезагрузки _всей_ системы (внимательно прочтите man hdparm по -k и -K). Настройки сохраняются между перезагрузками в /etc/sysconfig/harddisks . Подредактируйте его по вкусу :-) A2: Не первый год живу с переписанными инитами, которые почти всё, что можно, берут из возможностей самого винта, и, соответственно, "енаблят" их по максимуму. А сидюкам, напротив, дают острастку до приличествующих 32х. В прицепах - /etc/sysconfig/harddisks и /etc/rc.d/scripts/idetune (ХтоИзКу - думаю, разберётесь). При этом на текущей машине (как и на всех прочих): # hdparm -c /dev/hda /dev/hda: IO_support = 3 (32-bit w/sync) Ну, и прочие фенечки, типа: # hdparm -i /dev/hda | grep MultSect BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16 без выкрутасов с /etc/sysconfig/harddisks и /etc/sysconfig/harddisk/hdX. В последний каталог только совсем запущенные случаи прописывал. И то - всего пару раз. Вдогонку. Перекраивал не год и даже не пятилетку назад. Конструкция вида: MULTIPLE_IO=`$HDPARM -i /dev/hd$i | grep "MaxMultSect=" | cut -d, -f3 | cut -d= -f2` давно не представляется идеальной, но... оптимизировать лениво. Вероятно, и другие ляпы есть. Однако - работает. И на приличном количестве машин. И не только в моей епархии-юрисдикции. Тем не менее, буду рад любым поправкам и озарениям. ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-01-29 13:18 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-01-17 12:13 [Hardware] hdparm settings anyr 2006-01-17 20:09 ` Artem 2006-01-18 11:41 ` [Hardware] " Вадим Илларионов 2006-01-18 11:58 ` Вадим Илларионов 2006-01-18 15:14 ` anyr 2006-01-19 16:02 ` Artem 2006-01-18 12:08 ` Artem 2006-01-18 12:29 ` Вадим Илларионов 2006-01-28 16:24 ` Michael Shigorin 2006-01-29 13:18 ` anyr
ALT Linux hardware support This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \ hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org public-inbox-index hardware Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.hardware AGPL code for this site: git clone https://public-inbox.org/public-inbox.git