Welcome to thatlinuxbox.com Friday, March 29 2024 @ 10:13 AM UTC

Improve compile time on multi-core Linux systems

View Printable Version
  • Friday, February 12 2010 @ 08:51 PM UTC
  • Contributed by:
  • Views: 4,943
Linux, Open Source, and Tech Stuff

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

While compiling a piece of software from source the other day, I noticed that my CPU was only at about 50% utilization.  This reminded me that the build tools can be set to execute multiple operations simultaneously.

The CONCURRENCY_LEVEL environment variable is used by many tools to determine the number of concurrent jobs to run:

 export CONCURRENCY_LEVEL=3

 It is also possible to tell "make" directly how many simultaneous jobs to run:

 make -j 3

 make --jobs=3

 On a sample dual-core system, this improved my emacs compile time from 2m36s to 1m31s.

Canceled my A2 Hosting account

View Printable Version
  • Monday, February 01 2010 @ 02:55 PM UTC
  • Contributed by:
  • Views: 5,620
News

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

As mentioned in thatlinuxbox.com now runs on a Linode, I switched from A2 Hosting to Linode a few weeks ago. The new Linode server is running great so today I canceled my A2 Hosting account.

I ditched A2 Hosting because the low apache MaxClients settings meant my sites were giving 503 errors and when pages did load ok they were generally missing images.

Beware so-called "Unlimited" shared web hosting plans. They are cheap for a reason. The MaxClients setting makes an effective bottleneck to limit site traffic and usage. When I asked A2 Hosting about this problem they suggested that I upgrade to one of their own VPS hosing packages. Um, no thanks. I switched providers instead.

It seems like there is an un-tapped niche in there somewhere. My Linode 360 costs $20 / month. I was paying $6 / month for the A2 Executive Web Hosting Plan. I would have loved to pay $12 for shared hosting that did not suck.

However, now that I'm on a Linode VPS plan I am probably hooked... it is really darn convenient to have my irssi client logged into IRC all the time and available to me anywhere I can get an SSH shell.

My Home Desktop Computer Runs Linux

View Printable Version
  • Wednesday, January 20 2010 @ 04:22 PM UTC
  • Contributed by:
  • Views: 13,837
Linux, Open Source, and Tech Stuff

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

Probably no surprise to anyone, my home desktop computer runs Linux.



I recently posted Heatsink Bracket and Clips for new CPU cooler so I thought I ought to post more details about that system.


Here are the specs:

Heatsink Bracket and Clips for new CPU cooler

View Printable Version
  • Wednesday, January 20 2010 @ 03:15 AM UTC
  • Contributed by:
  • Views: 7,517
Linux, Open Source, and Tech Stuff

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

This Zalman is too loud:



Here is the funky bracket the Zalman uses:

thatlinuxbox.com now runs on a Linode

View Printable Version
  • Monday, January 11 2010 @ 12:04 AM UTC
  • Contributed by:
  • Views: 4,069
News

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

Due to issues with shared web hosting plans (mostly due to insanely low apache MaxClients setting), I have moved all of my thatlinuxbox sites over to a Xen VPS solution offered by Linode.com (www.linode.com).  Linode compares well with SliceHost and other VPS providers, although Linode offers 360 MB RAM and 20 GB of disk space (the plan I chose) which gave them an edge in my comparison.

There is a lot more administration overhead with VPS compared to shared web hosting, but my sites actually work and I have flexibility to run whatever software I want including rsync and irssi.  I am very pleased so far and all of my sites are snappy again.

Fiction Read During 2009

View Printable Version
  • Saturday, January 09 2010 @ 04:17 PM UTC
  • Contributed by:
  • Views: 4,573
Reading and Writing

Share
  • Google Plus
  • Facebook
  • Twitter
  • Reddit
  • LinkedIn
  • Digg

Here is the complete list of fiction that I read during 2009 (total of 84 works, mostly Speculative / Science Fiction):

 


User Functions

Login

Connect

thatlinuxbox.com is the home of Dan Stoner's Personal Blog, Photos, and More (opinions, rants, techno-babble, and possibly a few useful tidbits of knowledge).

Questions or Comments about this site? Contact danstoner _ at _ gmail.com.

RSS Feed for this blog

Other places to find me on the web:

Twitter

LinkedIn

GitHub

Support This Site

If you like something that you find on this site, please consider making a purchase through one of the links below or sending me an item from my Amazon Wish List.


The Clymb


Awesome VPS hosting by Linode.com