On 04/18/2013 09:35 PM, Aere Greenway wrote:
> It surprises me to have this particular machine referred to as "low-spec
> hardware", though compared to most new machines, it could be considered
> that.

   Don't get me wrong.  I love low-spec.  It's the only way to go if you 
want to write fast code.

> It's 32-bit i386, a Dell Dimension DX-1100, with a 2.5 gigahertz
> processor (single processor), with 1 gigabytes of RAM.

   That's a 2002 vintage processor.  A good test of performance.  The 40 
minute build time is a good indicator.  I bought this Core i3 as a 
bottom-of-the-line machine a couple of years ago.  It builds rg in about 
6 minutes.

> I have (in the past) successfully recorded MIDI with Rosegarden using a
> 450 megahertz machine (which I still use, and can run tests on, if you
> wish).  Just don't ask me to build Rosegarden on that particular machine!

   Probably without "--enable-debug" on that build.  That should help 
with performance.

> Yet, as I think about it, it was running Ubuntu 12.04 Unity desktop, and
> that will make any machine a low-spec machine.  I used that partition
> for both generating Rosegarden and doing the test recording.

   With 1GB of RAM, you're probably out of memory the moment the desktop 
is up.  Building rg uses an enormous amount of RAM.  It's Qt and the 
resources as I recall.  So that's probably killing your build times.

   At any rate, to see what's going on performance-wise, two helpful 
commands:

1. "top" shows the processes that are using the most CPU.  Start it in 
its own terminal window as it updates on its own.  Press "q" to quit. 
With this you can see rg using lots of CPU while recording.

2. "time" can time your builds.  Instead of "make" do "time make".  The 
"real" time number is the wall-clock time that the build took.  (Of 
course, if your build crashes, this is pretty useless.)

Ted.

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to