Re: [PATCHSET 8/9] prep for hotplug support

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

 



Tejun Heo wrote:
Yeah, Forrest pointed out the same thing and I've converted hotplug_wq to single threaded variant, which should be enough for SCSI hotplugging. For ata_wq, I think it's wiser to keep it multi-threaded for the time being. Maybe what should be done is to allocate a single threaded workqueue per host_set.

One thread per host_set would suck for any situation where that's doing ATAPI or PIO tasks. Would love to find a good metric...


$BIGNUM CPU boxes tend to have $BIGNUM GB of memories, so multithreaded wq might not be that critical resource-wise. But, still, inefficient

That's a bad assumption on modern machines. Think of a single 16-core, 8-thread SPARC Niagara CPU, for example :)

	Jeff



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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux