Skip to content

Instantly share code, notes, and snippets.

@zmalltalker
Created February 22, 2011 08:18
Show Gist options
  • Save zmalltalker/838365 to your computer and use it in GitHub Desktop.
Save zmalltalker/838365 to your computer and use it in GitHub Desktop.
pbzip2 runs on several cores
So let's see how bzip2 performs. It will run on a single core:
log ➤ time bzip2 test.log
bzip2 test.log 95.70s user 0.38s system 99% cpu 1:36.84 total
99% cpu. 1.36 minutes. Not too shabby
Now, for some multi core action, let's see how pbzip2 performs:
log ➤ time pbzip2 test.log
pbzip2 test.log 109.08s user 2.40s system 171% cpu 1:04.96 total
171%, see that? Can't wait for my hexacore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment