linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Multi Core Support for compression in compression.c
@ 2014-07-27 20:47 Nick Krause
  2014-07-28  2:56 ` Austin S Hemmelgarn
  0 siblings, 1 reply; 12+ messages in thread
From: Nick Krause @ 2014-07-27 20:47 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org,
	linux-btrfs@vger.kernel.org SYSTEM list:BTRFS FILE

This may be a bad idea , but compression in brtfs seems to be only
using one core to compress.
Depending on the CPU used and the amount of cores in the CPU we can
make this much faster
with multiple cores. This seems bad by my reading at least I would
recommend for writing compression
we write a function to use a certain amount of cores based on the load
of the system's CPU not using
more then 75% of the system's CPU resources as my system when idle has
never needed more
then one core of my i5 2500k to run when with interrupts for opening
eclipse are running. For reading
compression on good core seems fine to me as testing other compression
software for reads , it's
way less CPU intensive.
Cheers Nick

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-07-29 17:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-27 20:47 Multi Core Support for compression in compression.c Nick Krause
2014-07-28  2:56 ` Austin S Hemmelgarn
2014-07-28  3:21   ` Nick Krause
2014-07-28 10:02     ` Hugo Mills
2014-07-28 10:10     ` Austin S Hemmelgarn
2014-07-28 15:13       ` Nick Krause
2014-07-28 15:57         ` Nick Krause
2014-07-28 16:19           ` Austin S Hemmelgarn
2014-07-28 18:36             ` Nick Krause
2014-07-29 17:08               ` Nick Krause
2014-07-29 17:14                 ` Austin S Hemmelgarn
2014-07-29 17:38                   ` Nick Krause

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).