LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 06-03-2013, 03:09 PM   #1
fisherman1810
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
Best distribution for testing an algorithm with respect to speed


I have an algorithm programmed in C++ that I want to test on a Linux platform. The goal is to measure the cpu time on different problem instances. That is, speed is the issue.

The development is done on Windows. However, I want to do the tests on Linux. That is, I want to reboot my computer to Linux (and a terminal window), compile the code using gcc (with optimize option) and run the tests using a Perl script.

What is the best distribution for this? I off course want as few processes as possible running and no graphical desktop is needed. I have been thinking about Puppy Linux or Tiny Core Linux. Moreover, will it affect the speed that I boot the system from a CD?

Hardware: Laptop, Intel Core i7-3520M CPU @ 2.90 GHz, 16 GB RAM, Intel HD Graphics 4000, 256 GB Solid State Drive
 
Old 06-03-2013, 03:35 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,295

Rep: Reputation: 1063Reputation: 1063Reputation: 1063Reputation: 1063Reputation: 1063Reputation: 1063Reputation: 1063Reputation: 1063
You could do that with Slackware 14.0

Just make a full install and you'll have a toolchain out of the box. By default it boots at runlevel 3 (console mode) and all scripting languages are included. At time of selecting packages series either make a full install (won't hurt, 7,5 G) or only install packages series A (core system) AP (console apps), L (libraries), D (development) E (Emacs, if you want to use it), K (kernel source, just in case) possibly N (Network) and you will be all set in less than 10 minutes on your laptop.

More info: slackware.com, docs.slackware.com.

Yes, booting from a CD can take more time.

PS I almost forgot: warm welcome to LQ.

Last edited by Didier Spaier; 06-03-2013 at 03:36 PM.
 
Old 06-04-2013, 02:16 AM   #3
fisherman1810
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
@ Didier. Thanks for the info. I will consider Slackware. Does it come in a 64 bit version? I guess that I will take more time booting from the CD. However, after the boot will it affect the speed when I run the algorithm? Cheers Lars
 
Old 06-04-2013, 03:26 AM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,295

Rep: Reputation: 1063Reputation: 1063Reputation: 1063Reputation: 1063Reputation: 1063Reputation: 1063Reputation: 1063Reputation: 1063
Yes, 32 and 64 bit versions are available.

The architecture won't change boot time from the CD.

Whether it will affect the speed running your program all depends on:
(1) the kind of algorithm
(2) its implementation
(3) the optimizations you use in setting compilation's parameters

Not knowing that it's hard to give you an answer.

As you'll have installed Slackware, the boot time from the CD won't matter anyway and the installation time is the same for both versions (probably no more than 10 minutes or so with your hardware).

Last edited by Didier Spaier; 06-04-2013 at 03:28 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need LARGE data sets for testing the Dijkstra's Algorithm which I implemented TheIndependentAquarius General 2 07-04-2011 11:01 AM
A question with respect to IRQ distribution sunnyhay Linux - Hardware 1 11-28-2009 10:36 PM
debian base for testing distribution palanisaravanan Debian 1 03-08-2004 08:06 AM
Testing Samba Speed With dd disinformation Linux - Networking 1 02-21-2004 06:42 PM
LAN speed testing Paul_assheton Linux - General 3 05-03-2002 05:24 AM


All times are GMT -5. The time now is 05:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration