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]

 



On Thu, 2005-12-01 at 12:37 -0500, James.Smart@xxxxxxxxxx wrote:
> > sure.. but if the defaults are 0... why couldn't mode 1 by 
> > the default..
> > isn't mode 1 with coalesing value 0 the same as mode 0.. and 
> > if so.. why
> > need a mode 0 in the first place ?
> 
> There's no gain - and in fact there is now a loss. Queuecommand
> now eats up more cycles attempting to service i/o completions on
> every invokation. Nothing gets helped on the interrupt side. We
> would still have interrupts firing, thus the interrupt handler
> being invoked to clear the interrupt.
> 
> We're going to consume more cycles for a) queuecommand calls that
> don't have i/o completions available, and b) for handling spurious
> interrupts.

ok fair enough...  what kind of granularity can this delay be set too?
It might make sense to default to say 50 usec or 100usec always...

Also, not sure how your hardware works but it would be really sweet if
the kernel could set "this request should be coalesed" or "this request
is latency sensitive, gimme immediate", so that we can set async write
IO's for coalescing while not getting latency on reads...


-
: 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