LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs > caieng
User Name
Password

Notices

Rate this Entry

Two Browsers, Two Computers, Two Linuxes: Streaming Audio

Posted 03-07-2011 at 08:11 AM by caieng

07 March 2011

Despite numerous improvements in Linux, during the past decade, it consistently underperforms products by Microsoft (M$). This distinction may be blurred in newer computers, but on older machines, Linux dependably performs routine tasks more slowly than M$ software.

In some settings, however, this relative lethargy is not a significant handicap. One such application,using older computers, with Linux, where perceived diminution in responsiveness is a relatively insignificant distraction, is streaming audio reception. The following test was devised to compare various operating systems and web browsers tasked with the chore of receiving web broadcasts from radio stations around the world, employing any one of three non-proprietary formats: OGG, aac+, or mp3. The goal of the test was to measure the times needed to receive broadcasts from each of twelve different stations, found at Mike's Classical Music:
http://www.listenlive.eu/classical.html

To emulate the concept of using one's computer concurrently to perform some sort of additional task, while listening to music,a background task is invoked-->downloading a 4GB DVD from the Debian web site. This has the net effect of slowing down reception, upon changing stations, compared with operating the computer engaged in no task other than receipt of broadcast streaming audio.

Procedure: After booting, the background task is begun: downloading a 4 gigabyte file. The browser under investigation is engaged, and directed to Mike's web site above. VLC is successively invoked and then closed, by clicking on first, an mp3 icon, then an aac+ icon, and finally an ogg icon, all three icons representing web sites not included in the list of twelve sites, below. VLC is closed again, and the trial then commences. Each trial consists of twelve different times corresponding to the time needed to hear music after clicking successively on the icon representing each of these twelve sites, closing VLC after each time has been recorded. The twelve times are then summed to represent total time for that particular trial. After discarding the downloaded 4 gigabyte file, the machine is rebooted, a new 4 gigabyte download task begun,
and the next browser is tested. Each browser is tested in this fashion, three times, on three different days, and the total times are then summed for each browser on each distribution on the various computers. Each number below thus represents the sum of thirty six different measurements.
Code:
 Streaming Web Site		location			format		Kbps 

(1) Radio Stephansdom		Vienna, Austria			mp3		128
(2) VRT Radio Klara		Brussels, Belgium		mp3		 96
(3) RTBF Musiq 3		Brussels, Belgium		mp3		128
(4) Cro D-dur			Prague, Czech Republic		ogg		256
(5) Accent-4			Strasbourg, France		aac+		 48
(6) BR-Klassik			Munich, Germany		        mp3		128
(7) NDR Kultur		        Hamburg, Germany		mp3		128
(8) Radio 4			Hilversum, Netherlands		aac+		 64
(9) Concertzender Klassiek	Hilversum, Netherlands		mp3		128
(10) NRK Klassisk		Oslo, Norway			mp3		192
(11) SRO Radio Klasika		Bratislava, Slovakia		ogg		256
(12) Sveriges Radio SR		Stockholm, Sweden		aac+		192
Computer specifications: Both have default video resolution of 1280 x 1024 with Win 98
Code:
c4  dfi CA64-TC  (32 bit)		PIII 1.13GHz	1.0 GB SDRAM		
    benchmarks:  	2.6 GIPS, 	1.5 GFLOPS, 	0.47 GB/sec memory bandwidth
    Video controller:  	S3 Savage4 AGP 4x.
c8  asrock 775Dual-880Pro (64 bit)	PIV D 3.2 GHz	1.0 GB dual channel DDR2 RAM
    benchmarks: 	14 GIPS, 	11.65 GFlops	4.8 GB/sec memory bandwidth
    video controller:  	NVIDIA GeForce4 MX 440 with AGP8X (AGP 3.00)
Results:
Code:
#   Distro	version	  type	kernel		Date	Browser	       version	VLC	Seconds

c4  XP	        SP-II	  M$			2004	Opera		11.01	1.1.7	132
							SeaMonkey	2.0.11		132
							Chrome	        9.0.597 	180
    PCLinuxOS	10.2	  LXDE	2.6.33.7/686	2010	Opera		11.01	1.1.7	186
							Konqueror	4.5.5		244
    CrunchBang	20110112  XFCE	2.6.32-5/686	2011	Chrome	        9.0.597	1.1.3   209
							Konqueror	4.4.5		293
							SeaMonkey	2.0.7		200
							FireFox	        4.0.b9		256
 
c8  XP	        SP-II	  M$			2004	Opera		11.01	1.1.2	 80
							SeaMonkey	2.09		 82
    CrunchBang	20110112  XFCE	2.6.32-5/amd64  2011	Chrome	        9.0.597	1.1.3	129
							SeaMonkey	2.07		145
							FireFox	        3.6	        146
							Konqueror	4.4.5		172	
    PCLinuxOS	10.2	  LXDE	2.6.37i686	2010	Konqueror	4.5.5		205
							Opera		11.01		138
Massage: here is some of the raw data normalized by incorporating the cpu and memory bandwidth:
Code:
	Distro/Browser		[(GIPS+GB/sec)/Seconds]*100	(bigger is better)

   	PCLinuxOS--Opera				XP--Opera				
  	C4		C8			C4		C8
	1.67		13.62			2.34		23.5
	
	PCLinuxOS--Konqueror				CrunchBang--Konqueror
	C4		C8			C4		C8
	1.27		9.17			1.05		10.93
Interpretation: Of note is the distinction between the times needed for reception under XP, a 32 bit operating system, running on C8, with a 64 bit cpu, versus times measured on the same computer using a 64 bit version of CrunchBang Linux. PCLinuxOS (32 bit) versus CrunchBang (64 bit), both running Konqueror, demonstrates the superior advantage of 64 bit operations, versus 32 bit, (else dual core compared with single core), even in this relatively unchallenging data processing environment: streaming audio reception while concurrently downloading a large file. The very same PCLinuxOS, with identical Konqueror browser, on the same, single core, 32 bit machine, outperforms by 20%, the 32 bit version of CrunchBang running the same browser, so we are relatively confident that the 16% improvement in 64 bit operations, compared with 32 bit functionality, does not reflect a superiority in CrunchBang's implementation of Linux, per se, compared with that of PCLinuxOS. The improved performance observed, in my opinion, is due not to sophistication of contemporary 64 bit Linux, but to the architectural advantages offered by the cpu. How else can one explain the observation that 32 bit XP is twice as fast as 64 bit Linux?

CAI ENG
Posted in Uncategorized
Views 1371 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment

    niche for CrunchBang....

    Quote:
    Originally Posted by Distro watch, Jesse Smith
    Nothing really jumped out at me as being great or terrible. Thus far I haven't found any niche CrunchBang fills -- its resource usage, install process and user-friendliness seems to be about on par with plain Debian, so I'm not sure who this project is targeting. My conclusion is CrunchBang appears to be a good tool, I just haven't found any task for it.
    Gosh. I have.

    CrunchBang is the best distro out there, in my testing, for use as in internet radio station.....

    CAI ENG
    Posted 04-11-2011 at 01:14 PM by caieng caieng is offline
 

  



All times are GMT -5. The time now is 10:51 PM.

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