RE: [PATCH 9/11][REPOST #2] lpfc 8.1.1 : Add polled-mode support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > if value is 1 :
> >   Interrupts are left enabled, expecting that the user has tuned the
> >   interrupt coalescing values. When this setting is enabled, the
> > driver
> >   will attempt to service completed i/o whenever new i/o is 
> submitted
> >   to the adapter. If the coalescing values are large, and the i/o
> >   generation rate steady, an interrupt will be avoided by servicing
> >   completed i/o prior to the coalescing thresholds kicking in.
> > However,
> >   if the i/o completion load is high enough or i/o generation slow,
> > the
> >   coalescion values will ensure that completed i/o is serviced in a
> > timely
> >   fashion.
> 
> this sounds nice.. couldn't this be the default? (even if the delays
> aren't set by default).. 

The real issue with changing the default is that the interrupt coalescing
values affect things that generate interrupts other than just FCP i/o, like
discovery.  Tune too high and you might start seeing erroneous ELS errors,
affecting target presentation, recovery after link events, etc.

I've done this kind of tuning in several drivers and the conclusion has
been that you can really only tune the coalescing values if you understand
your environment and application/system needs very very well.

This caveat should have been in the text discussion, and will be added to
the documentation file we will create for lpfc.

-- james s
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux