Возможно счастье будет - NCQ
Добавлено: 2009-06-28 0:03:40
Можно потестить.
http://docs.freebsd.org/cgi/getmsg.cgi? ... sd-current
http://docs.freebsd.org/cgi/getmsg.cgi? ... sd-current
Если есть силы бежать – кто поверит, что нет сил драться?!
https://forum.lissyara.su/
В 8.0 вряд ли - там уже началась подготовка к релизу, а вот к выходу 8.1 может и будет.Гость писал(а):кстати, че-то новость об этом патче на opennet.ru не пропустили и на linux.org.ru флейма не разгорелось. Как патч включат в HEAD будет еще один шанс потроллить и еще больше флейма будет, если оно появится в 8.0.
Код: Выделить всё
$ 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;
Все-таки будет в 8.0-BETA2: http://www.opennet.ru/opennews/art.shtml?num=22557terminus писал(а):В 8.0 вряд ли - там уже началась подготовка к релизу, а вот к выходу 8.1 может и будет.
Код: Выделить всё
------------------------------------------------------------------------
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.
Код: Выделить всё
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