LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-18-2011, 09:04 AM   #1
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Rep: Reputation: 57
Applications that are faster in 64-bit


It is rumoured that video processing is somewhat faster in 64-bit but the one application I have for video encoding (avidemux) is not. Tested against a stopwatch the 64-bit version is just as fast as the 32-bit one.

What applications take advantage of 64-bit cpu instructions so the 64-bit version runs faster?
 
Old 04-18-2011, 12:06 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Why would it? For a given cache size you get fewer 64-bit words than 32-bit words in it, so 32-bit code ought to run faster in general. The cases where data is inherently 64-bit are rare.

Any processor-intensive video work is done on the GPU, not the CPU, and code running on the CPU is handling pixel-by-pixel so not likely to make use of 64-bit.

The main savings with 64-bit is not having to do two cycles for address calculations. I can't see that making a big difference in performance.
 
Old 04-18-2011, 12:13 PM   #3
jthill
Member
 
Registered: Mar 2010
Distribution: Arch
Posts: 211

Rep: Reputation: 67
Quote:
Originally Posted by Ulysses_ View Post
What applications take advantage of 64-bit cpu instructions so the 64-bit version runs faster?
It's not so much the app as the build. Distros offer conservative builds that run at least ok even on very old 64bit chips without the new stuff, and finding 64bit's sweet spot on 32bit-sized workloads is a tuning thing anyway. So tune it: build from source with -march=native and -O3 for starters and you'll have an app that uses what your particular hardware offers.
 
1 members found this post helpful.
Old 04-18-2011, 12:13 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
It depends a lot on what programs and codecs you are using. Make sure to compile with the '-march=native' option. Also make sure to install yasm. I use ffmpeg, and it is faster on 64-bit. Other things are faster too like making and extracting archives, and other things. The only program I've found to be slower is imagemagick, for strange reasons. I don't use it, so it doesn't matter. EDIT: Always use -O2 and never -O3, because -O3 can cause instability in programs, I've seen it first hand.

Last edited by H_TeXMeX_H; 04-18-2011 at 12:15 PM.
 
Old 04-18-2011, 06:40 PM   #5
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
When I'm using a 64-bit linux, aren't all synaptic's applications automatically prebuilt and compiler-optimized for 64-bit?

Anyway, after some struggle found some benchmarks on 64-bit apps versus their 32-bit versions, here they are:

http://www.tuxradar.com/content/ubun...bit-benchmarks

Ogg encoding seems too good to be true. It must be more than an automatic build for 64-bit, there must be some different design.

Last edited by Ulysses_; 04-18-2011 at 06:43 PM.
 
Old 04-18-2011, 07:04 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You may want to have a look at this article from Phoronix, it compares a 32 bit, a 32 bit PAE and a 64 bit system. There are applications where you will see a significant difference in performance.
 
2 members found this post helpful.
Old 04-19-2011, 10:30 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by TobiSGD View Post
You may want to have a look at this article from Phoronix, it compares a 32 bit, a 32 bit PAE and a 64 bit system. There are applications where you will see a significant difference in performance.
Thanks, that's useful, and sums it up. Everything is faster on 64-bit (I guess I should use graphicsmagick). And take a look at Apache and Postmark ... now that's a difference. Also notice the overhead caused by PAE.

Great benchmark, will bookmark it and cite it when someone decides to argue against 64-bit.

Last edited by H_TeXMeX_H; 04-19-2011 at 10:31 AM.
 
Old 04-21-2011, 03:03 PM   #8
Ulysses_
Senior Member
 
Registered: Jul 2009
Posts: 1,303

Original Poster
Rep: Reputation: 57
How do you explain Apache and Postmark being so off the scale in 64-bit? Might all disk-intensive applications be 10 times faster in 64-bit?
 
Old 04-21-2011, 03:15 PM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by Ulysses_ View Post
How do you explain Apache and Postmark being so off the scale in 64-bit? Might all disk-intensive applications be 10 times faster in 64-bit?
I doubt it, but it's possible that they may be significantly faster. More benchmarks should tell.
 
  


Reply



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
faster gui applications milindlokde Programming 2 01-19-2010 11:20 AM
why do windows applications start faster? rabbit2345 Linux - Software 9 01-12-2010 10:31 PM
LXer: Running 32-bit Applications on 64-bit Debian GNU/Linux LXer Syndicated Linux News 2 01-06-2010 12:26 PM
LXer: Using Adobe Flash and other 32-bit applications on 64-bit Linux LXer Syndicated Linux News 0 07-24-2008 07:10 PM
i need to applications to run faster paimpozhil General 22 06-02-2004 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration