Вести с полей

From
Slawa Olhovchenkov (2:5030/500)
To
All (2:5054/37.63)
Date
2005-12-27T14:11:08Z
Area
RU.UNIX.BSD
Hello All!

scottl      2005-12-14 03:26:49 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/amr          amr.c amr_cam.c amr_disk.c amr_pci.c
                         amrio.h amrreg.h amrvar.h
  Log:
  Mega update to the LSI MegaRAID driver:

  1.  Implement a large set of ioctl shims so that the Linux management apps
  from LSI will work.  This includes infrastructure to support adding, deleting
  and rescanning arrays at runtime.  This is based on work from Doug Ambrosko,
  heavily augmented by LSI and Yahoo.

  2.  Implement full 64-bit DMA support.  Systems with more than 4GB of RAM
  can now operate without the cost of bounce buffers.  Cards that cannot do
  64-bit DMA will automatically revert to using bounce buffers.  This option
  can be forced off by setting the 'hw.amr.force_sg32" tunable in the loader.
  It should only be turned off for debugging purposes.  This work was sponsored
  by Yahoo.

  3.  Streamline the command delivery and interrupt handler paths after
  much discussion with Dell and LSI.  The logic now closely matches the
  intended design, making it both more robust and much faster.  Certain
  i/o failures under heavy load should be fixed with this.

  4.  Optimize the locking.  In the interrupt handler, the card can be checked
  for completed commands without any locks held, due to the handler being
  implicitely serialized and there being no need to look at any shared data.
  Only grab the lock to return the command structure to the free pool.  A
  small optimization can still be made to collect all of the completions
  together and then free them together under a single lock.

  Items 3 and 4 significantly increase the performance of the driver.  On an
  LSI 320-2X card, transactions per second went from 13,000 to 31,000 in my
  testing with these changes.  However, these changes are still fairly
  experimental and shouldn't be merged to 6.x until there is more testing.

  Thanks to Doug Ambrosko, LSI, Dell, and Yahoo for contributing towards
  this.


... Пpи пожаpе звонить ATDP901^M
--- GoldED+/BSD 1.1.5
 * Origin:  (2:5030/500)
SEEN-BY: 46/50 50/203 400/814 450/186 1024 451/30 550/196 4635/4 4652/15
SEEN-BY: 5000/5000 5010/352 5011/13 5012/46 5015/10 28 5019/31 5020/154 175
SEEN-BY: 5020/400 545 549 715 758 830 937 1523 1604 1630 2020 2142 2238 2395
SEEN-BY: 5020/2450 2590 2871 4441 5021/3 29 5022/128 5025/3 750 5027/16
SEEN-BY: 5029/32 5030/49 115 436 473 500 556 966 1063 1900 1957 5031/47 70 72
SEEN-BY: 5035/38 5036/34 5040/47 5042/13 5045/7 5049/50 97 5053/16 5054/1 4 8
SEEN-BY: 5054/9 11 28 35 36 37 45 63 66 67 70 75 84 85 5055/95 5059/9 5062/1
SEEN-BY: 5062/10 5063/3 5067/2 5069/7 5070/1222 5077/70 5080/80 1003 5082/6
SEEN-BY: 5083/21 5085/13 5090/108 5094/4 5095/20 5096/18 6000/12 254 6001/10
PATH: 5030/500 5020/4441 545 5054/1 37