Re: [PATCH] scsi: Remove some false sharing in Scsi_Host / Scsi_Device

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

 



On Fri, Jul 11, 2014 at 01:25:10PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> 
> These data structures are accessed by different CPUs and have some
> fields which are mostly read only and others which are frequently
> written. Separate some common ones into separate cache line
> to minimize false sharing while submitting a command.
> 
> This allows scsi_dispatch_cmd to do more work with shared clean
> cache lines.
> 
> - Move the cmd_serial_number to the end before the host data
> - Separate write common fields from read mostly fields in
> the scsi device

Looks useful, but please provide some numbers on how this actually
helps.

--
To unsubscribe from this list: 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