1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Mesa Code Activity Really Exploded In 2009

Mesa

Published on 29 January 2010 09:37 AM EST
Written by Michael Larabel in Mesa
3 Comments

Back in mid-2008 we published two articles that looked at the contributors to the X Server and contributors to Mesa, which provided statistics as to the companies and developers contributing to these two important free software projects over the years. Since the start of the new year though I've been meaning to provide some other statistics about how the projects themselves have evolved over the year, but this morning I am finally pushing out these new numbers for the X.Org Server and Mesa.

I was curious how the number of code commits each year had changed to the X Server and Mesa projects, but going back years in the X Server multiple bug-fixes and other work would often be batched together in a single commit, which would under represent the work done that year. Instead I looked at the number of lines of code changed, in the form of the git diff for each year as if a patch was made at the end of December representing the changes over the course of the calendar year. This should be a quick and fairly accurate way (the problem being the patch file also contains the surrounding lines, but alas it's like that for every year) of comparing the lines of code that have been changed over the year to get an idea for volume. For what is the current X.Org Server code-base there are numbers going back to 2000 and for the Mesa stack back to 1999.

With regard to the X Server, 2009 was not in fact their "biggest" year in terms of the number of lines of code that had changed. With a total lines of code for the git diff being 816,142, 2003 was the biggest year. This is over three times greater than the work in 2009 that was measured in at 251,706. In 2008 the number was also more lively at 512,547.

Ten years ago in 2000 the line count was 18,046 while in 2001 it went up to 25,243, and then in 2002 it dropped off to merely 3,656 lines of changed code. While 2002 was the slowest year, 2003 was the best (816,142), 2004 dropped to 277,371, 2005 continued to slide down to 211,846, and in 2006 it ran up to 410,099. For 2007 the count was 376,384, and then again in 2008 it was 512,547 and last year it was 251,706.

While looking at the number of lines of code that were changed over the year is no way to measure the amount of work that was actually achieved during the year, it's a quick and dirty way to at least see the volume. If you read Phoronix and all of our news postings and articles, you already have an idea for what has changed within the X.Org Server and other parts of the Linux graphics stack over the past few years.

For the Mesa 3D project the 2009 numbers were particularly interesting. There were 5.5x as many lines of code changed in the Mesa 3D code-base as there was in 2008! In 2009 was the first time the git diff for the year exceeded one million lines of changed code, and it almost hit two million. Our count is at 1,883,285 for 2009. Of course, it was in 2009 that Gallium3D was merged to master and it's received a multitude of improvements with many state trackers and drivers coming about.

Gallium3D is inflating the Mesa code-base substantially and causing lots of new work to go into Mesa as this new driver architecture is stabilized and beaten into a working, stable state. There is also plenty of work continuing to go into classic Mesa and the DRI drivers with the ATI R600/700 3D work coming about during 2009 and plenty of new work going into Intel's Mesa 3D driver where they continue to concentrate all of their 3D development efforts. The core of Mesa 3D also picked up support for many new OpenGL extensions in 2009. Though some of what inflated the line count for Mesa was a few obj files (e.g. /progs/objviewer/GreatLakesBiplaneHP.obj) that are quite large files and not code.

Here are the numbers for Mesa's other years:

1999: 232,143
2000: 203,475
2001: 255,416
2002: 133,331
2003: 435,663
2004: 445,561
2005: 440,428
2006: 390,418
2007: 343,566
2008: 341,573
2009: 1,883,285

Last year certainly was one hell of a year for this critical free software project that provides the reference OpenGL implementation and drivers for those with open-source hardware support on Linux and other operating systems. But again, take these numbers as you wish as this is just a rough idea for the volume of work done each year.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Scythe Mugen MAX
  2. Intel Core i7 5960X Haswell-E On Linux
  3. Intel 80GB 530 Series M.2 SSD On Linux
  4. With A New Motherboard, The Core i7 5960X Haswell-E Lights Up
Latest Linux Articles
  1. Counter-Strike: Global Offensive NVIDIA/AMD Benchmarks On Linux
  2. Running Fedora 20 On Intel's Core i7 Haswell-E Platform
  3. A Tour Of The New Phoronix Office
  4. 7-Way Linux Desktop Gaming Comparison On Ubuntu 14.10
Latest Linux News
  1. The Features Coming For Fedora 21
  2. Counter-Strike: Global Offensive Starts Rolling Out To Linux Users
  3. The Gestures Support Of GNOME 3.14
  4. Linux 3.17 Has Basic Support For The Xbox One Controller
  5. openSUSE 13.2 Beta Still Using Btrfs By Default, & KDE Plasma 5 For Testing
  6. GTK+ 3.14 Brings Much Better Wayland Support, Multi-Touch, New Theme
  7. DisplayPort Comes To USB's Type-C Connector
  8. NSS Updated On Ubuntu 12.04/14.04 To Allow Netflix Support
  9. Linux 3.17-rc6 Released; Linux 3.17 Final Might Come In One Week
  10. X.Org Server 1.16.1 Released
Latest Forum Discussions
  1. Uselessd: A Stripped Down Version Of Systemd
  2. X.Org Women Outreach Program Only Turns Up Two Applicants So Far
  3. State of Nouveau now and in the near future?
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Wasteland 2 Officially Launched Today, Including For Linux Gamers
  6. NVIDIA GTX 770/780 -works ?
  7. New stress testing utility for GPU's
  8. How to get Catalyst 14.4 working on Ubuntu 14.04