Re: [PATCH 03/45] Make the slow work pool configurable [ver #41]

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

 



Quoting David Howells (dhowells@xxxxxxxxxx):
> Make the slow work pool configurable through /proc/sys/kernel/slow-work.
> 
>  (*) /proc/sys/kernel/slow-work/min-threads
> 
>      The minimum number of threads that should be in the pool as long as it is
>      in use.  This may be anywhere between 2 and max-threads.
> 
>  (*) /proc/sys/kernel/slow-work/max-threads
> 
>      The maximum number of threads that should in the pool.  This may be
>      anywhere between min-threads and 255 or NR_CPUS * 2, whichever is greater.
> 
>  (*) /proc/sys/kernel/slow-work/vslow-percentage
> 
>      The percentage of active threads in the pool that may be used to execute
>      very slow work items.  This may be between 1 and 99.  The resultant number
>      is bounded to between 1 and one fewer than the number of active threads.
>      This ensures there is always at least one thread that can process very
>      slow work items, and always at least one thread that won't.
> 
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>

Acked-by: Serge Hallyn <serue@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux