Возможно счастье будет - NCQ
- Fastman
- ст. лейтенант
- Сообщения: 1236
- Зарегистрирован: 2006-07-07 10:20:38
- Откуда: Минск. РБ
Возможно счастье будет - NCQ
Можно потестить.
http://docs.freebsd.org/cgi/getmsg.cgi? ... sd-current
http://docs.freebsd.org/cgi/getmsg.cgi? ... sd-current
Главное в жизни здоровье и любовь, остальное я все куплю.
Услуги хостинговой компании Host-Food.ru
Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/
-
- проходил мимо
Re: Возможно счастье будет - NCQ
ga-p35-ds3, на интеловском ahci контроллере работает без проблем. По ссылке непонятно поддерживаются ли в патче PATA устройства.
ps, че-то по ссылке пусто, вот на gmane.org:
http://thread.gmane.org/gmane.os.freebsd.current/116609
ps, че-то по ссылке пусто, вот на gmane.org:
http://thread.gmane.org/gmane.os.freebsd.current/116609
-
- проходил мимо
Re: Возможно счастье будет - NCQ
кстати, че-то новость об этом патче на opennet.ru не пропустили и на linux.org.ru флейма не разгорелось. Как патч включат в HEAD будет еще один шанс потроллить и еще больше флейма будет, если оно появится в 8.0.
- f_andrey
- майор
- Сообщения: 2651
- Зарегистрирован: 2007-12-26 1:22:58
- Откуда: СПб
- Контактная информация:
Re: Возможно счастье будет - NCQ
Насколько я видел мельком новость, она вот об этом патче была, вроде в рассылке обсуждали вроде пока решение слишком сырое, что в принципе и не мудрено для этапа начала переделки 

Если ваша тема перенесена, то смотри http://forum.lissyara.su/viewtopic.php?f=1&t=32308
- terminus
- майор
- Сообщения: 2305
- Зарегистрирован: 2007-10-29 11:27:35
- Откуда: Рига
Re: Возможно счастье будет - NCQ
В 8.0 вряд ли - там уже началась подготовка к релизу, а вот к выходу 8.1 может и будет.Гость писал(а):кстати, че-то новость об этом патче на opennet.ru не пропустили и на linux.org.ru флейма не разгорелось. Как патч включат в HEAD будет еще один шанс потроллить и еще больше флейма будет, если оно появится в 8.0.
Модель: AST-PM-105/0044; Тип: Универсальный, ремонтный; Название: Терминус; Род повреждения: Распад функций; Выводы: Сдать на слом.
-
- проходил мимо
Re: Возможно счастье будет - NCQ
кто-нить проводил бенчмарки? стоит ли выравнивать
vfs.zfs.vdev.min_pending = mintags
vfs.zfs.vdev.max_pending = maxtags
? и имеет ли смысл поднимать min_pending при использовании prefetch?
BTW, можно ли так же легко контроллировать кол-во одновременных обращений к диску в случае UFS?
vfs.zfs.vdev.min_pending = mintags
vfs.zfs.vdev.max_pending = maxtags
? и имеет ли смысл поднимать min_pending при использовании prefetch?
Код: Выделить всё
$ camcontrol tags ada0 -v
(pass0:ahcich2:0:0:0): dev_openings 29
(pass0:ahcich2:0:0:0): dev_active 3
(pass0:ahcich2:0:0:0): devq_openings 29
(pass0:ahcich2:0:0:0): devq_queued 0
(pass0:ahcich2:0:0:0): held 0
(pass0:ahcich2:0:0:0): mintags 2
(pass0:ahcich2:0:0:0): maxtags 32
Код: Выделить всё
uts/common/fs/zfs/vdev_queue.c:
/*
* zfs_vdev_max_pending is the maximum number of i/os concurrently
* pending to each device. zfs_vdev_min_pending is the initial number
* of i/os pending to each device (before it starts ramping up to
* max_pending).
*/
int zfs_vdev_max_pending = 35;
int zfs_vdev_min_pending = 4;
-
- проходил мимо
Re: Возможно счастье будет - NCQ
Все-таки будет в 8.0-BETA2: http://www.opennet.ru/opennews/art.shtml?num=22557terminus писал(а):В 8.0 вряд ли - там уже началась подготовка к релизу, а вот к выходу 8.1 может и будет.
- hizel
- дядя поня
- Сообщения: 9032
- Зарегистрирован: 2007-06-29 10:05:02
- Откуда: Выборг
Re: Возможно счастье будет - NCQ
Код: Выделить всё
------------------------------------------------------------------------
r195534 | scottl | 2009-07-10 12:18:08 +0400 (Fri, 10 Jul 2009) | 50 lines
Separate the parallel scsi knowledge out of the core of the XPT, and
modularize it so that new transports can be created.
Add a transport for SATA
Add a periph+protocol layer for ATA
Add a driver for AHCI-compliant hardware.
Add a maxio field to CAM so that drivers can advertise their max
I/O capability. Modify various drivers so that they are insulated
from the value of MAXPHYS.
The new ATA/SATA code supports AHCI-compliant hardware, and will override
the classic ATA driver if it is loaded as a module at boot time or compiled
into the kernel. The stack now support NCQ (tagged queueing) for increased
performance on modern SATA drives. It also supports port multipliers.
ATA drives are accessed via 'ada' device nodes. ATAPI drives are
accessed via 'cd' device nodes. They can all be enumerated and manipulated
via camcontrol, just like SCSI drives. SCSI commands are not translated to
their ATA equivalents; ATA native commands are used throughout the entire
stack, including camcontrol. See the camcontrol manpage for further
details. Testing this code may require that you update your fstab, and
possibly modify your BIOS to enable AHCI functionality, if available.
This code is very experimental at the moment. The userland ABI/API has
changed, so applications will need to be recompiled. It may change
further in the near future. The 'ada' device name may also change as
more infrastructure is completed in this project. The goal is to
eventually put all CAM busses and devices until newbus, allowing for
interesting topology and management options.
Few functional changes will be seen with existing SCSI/SAS/FC drivers,
though the userland ABI has still changed. In the future, transports
specific modules for SAS and FC may appear in order to better support
the topologies and capabilities of these technologies.
The modularization of CAM and the addition of the ATA/SATA modules is
meant to break CAM out of the mold of being specific to SCSI, letting it
grow to be a framework for arbitrary transports and protocols. It also
allows drivers to be written to support discrete hardware without
jeopardizing the stability of non-related hardware. While only an AHCI
driver is provided now, a Silicon Image driver is also in the works.
Drivers for ICH1-4, ICH5-6, PIIX, classic IDE, and any other hardware
is possible and encouraged. Help with new transports is also encouraged.
да будет make buildworld buildkernel installkernel installworld !
В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.
- hizel
- дядя поня
- Сообщения: 9032
- Зарегистрирован: 2007-06-29 10:05:02
- Откуда: Выборг
Re: Возможно счастье будет - NCQ
я никогда не чищу оО
так это чтобы не зобыть:
так это чтобы не зобыть:
Код: Выделить всё
hizel@bnight ~ >sudo atacontrol cap ad4
Protocol SATA revision 2.x
device model WDC WD3200AAKS-00L9A0
serial number WD-WMAV27372952
firmware revision 01.03E01
cylinders 16383
heads 16
sectors/track 63
lba supported 268435455 sectors
lba48 supported 625142448 sectors
dma supported
overlap not supported
Feature Support Enable Value Vendor
write cache yes yes
read ahead yes yes
Native Command Queuing (NCQ) yes - 31/0x1F
Tagged Command Queuing (TCQ) no no 31/0x1F
SMART yes yes
microcode download yes yes
security yes no
power management yes yes
advanced power management no no 0/0x00
automatic acoustic management yes yes 128/0x80 128/0x80
В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.
- f_andrey
- майор
- Сообщения: 2651
- Зарегистрирован: 2007-12-26 1:22:58
- Откуда: СПб
- Контактная информация:
Re: Возможно счастье будет - NCQ
Про всякие "веселости" с обновлением в курренте, отделил. Так что у кого есть желание продолжить обуждение теперь тут 

Если ваша тема перенесена, то смотри http://forum.lissyara.su/viewtopic.php?f=1&t=32308