Moving dports to gcc 4.7

DragonFly has two included compilers – GCC 4.4, and GCC 4.7.  Traditionally, we switch from one compiler to the other as default, and then replace the old one with a newer release, and so on.

Until recently, dports built almost exclusively using GCC 4.4.  John Marino’s switching to GCC 4.7, for a variety of reasons he lists in a recent post to users@.  An interesting point that he raises: GCC 4.4 won’t necessarily be replaced with a newer GCC, but perhaps clang?

DragonFly and Google Summer of Code, week 13

We’re in the last week of what has been a very good Summer of Code for DragonFly, and here’s the last reports.  (We’re missing two, but this is cleanup week, so not much to report)

 

TCP improvements

Sepherosa Ziehau has made a number of improvements to TCP in DragonFly – specifically, nonblocking and blocking connect(2) performance.  See each of his commits for statistics on how much this has reduced processor use under high load.  He has also written up an extensive description of how all this TCP stuff works in DragonFly.

In similar news, he has a nginx patch that delivers a significant performance increase.  It may go into nginx itself.

DragonFly and Summer of Code, week 11

Almost done with this year’s GSoC.  It’s been astonishingly… easy?  The students are working and the problems are difficult, but there’s been very little in the way of crisis.

Deduplication benefits, again

Remember my recent disk issues?  As a side effect of protecting myself, I have a good example of deduplication results.

I have a second disk in my server, with slave Hammer PFSs to match what’s on my main disk.  I hadn’t put them in fstab, so they weren’t getting mounted and updated.  I got them re-created, but they were nearly full.  Here’s an abbreviated df, from which you should be able to tell which drives I have :

Size   Used   Avail   Capacity
929G   729G   200G    78%    /slave/slavehome
929G   729G   200G    78%    /slave/slavevar
929G   729G   200G    78%    /slave/slaveusr
929G   729G   200G    78%    /slave/slaveslash

That 78% is how full the Hammer volume was.  I turned on Hammer deduplication, since it’s off by default.  The very next day:

Size   Used   Avail   Capacity
929G   612G   318G    66%    /slave/slavehome 
929G   612G   318G    66%    /slave/slavevar 
929G   612G   318G    66%    /slave/slaveusr 
929G   612G   318G    66%    /slave/slaveslash

It’s a 1 terabyte disk, and I gained more than 10% back – That’s 100g of disk space that I gained overnight.  There might be more tomorrow, given that it was all of 5 minutes of dedup work.

This won’t surprise you if you’ve seen previous deduplication links here, like my previous results or some real-world tests.  It’s still great.  I’d suggest turning it on if you haven’t – hammer viconfig the appropriate PFS and uncomment the dedup line.

 

DragonFly and Summer of Code, week 10

Only 3 more Mondays left in the student work part of Summer of Code!  Unsurprisingly, it seems the students are mostly in the cleanup phase – as it should be.

Details on dragonflybsd.org hardware

If you’re curious about the hardware being used for the colocated dragonflybsd.org servers (this includes the website, the repository, the mailing lists, dports build machines, etc.), here’s the ‘MicroCloud’ product page.  DragonFly’s model was purchased from iXsystems.   Apparently those Haswell processors have a fantastic power consumption to performance ratio.  (via)