Results 1 to 5 of 5

Thread: LAME slower on 64bit machines?

  1. #1
    Join Date
    Jul 2005
    Location
    California
    Beans
    173

    LAME slower on 64bit machines?

    Hey guys, I have a computer with an AMD64 processor, but I run the 32 bit version of ubuntu for convienience. Though today, I got the 64bit feisty CD, and went and tested a few programs to see if they would be quicker.
    I got some interesting results.

    Oggenc, encoding a particular file on my 32bit install, takes around 21 seconds. Now, in the 64bit liveCD, oggenc encoded the same file in 14 seconds; an incredible performance increase.

    But Lame, encoding this file on my 32bit install took 21 seconds, while on the 64bit liveCD it took 23 seconds... a performance decrease.

    Does anyone know why this is?

  2. #2
    Join Date
    May 2007
    Beans
    58
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: LAME slower on 64bit machines?

    are they both on a live-cd?

  3. #3
    Join Date
    May 2007
    Beans
    601

    Re: LAME slower on 64bit machines?

    FWIW: You are running in 64-bit mode. Running 32 bit applications in 64-bit mode is probably less efficient due to the encoding of 32 bit instructions in the 64 bit mode.
    In other works 64 bit mode is optimized more for 64 bit work. The faster encoding may be due to it being a 64-bit application.

  4. #4
    Join Date
    Jul 2005
    Location
    California
    Beans
    173

    Re: LAME slower on 64bit machines?

    Quote Originally Posted by Andrewie View Post
    are they both on a live-cd?
    Nah, only the 64bit system was a liveCD. The 32bit system is the one I have installed on the hard disk.

  5. #5
    Join Date
    Mar 2006
    Location
    The Internet
    Beans
    1,817
    Distro
    Ubuntu

    Re: LAME slower on 64bit machines?

    This is true, lame is faster on 32bit machines, even when comparing to a compiled 64bit binary.

    LAME is optimized for certain 32bit goodies which do not have 64bit counterparts (nasm, in particular). So compiling LAME under 64bit while makes a 64bit binary, does not take advantage of any 64bit goodness.

    LAME 4 is a rewrite for 64bit and smp and is in the works by one of the LAME devs.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •