Page 1 of 3 123 LastLast
Results 1 to 10 of 31

Thread: Mplayer builds do not complete in suite tests

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    Third Rock from the Sun
    Posts
    6,584

    Default Mplayer builds do not complete in suite tests

    OK, something really odd here.

    Whenever the mplayer compile test is ran from a suite such as

    ./phoronix-test-suite run universe
    or
    ./phoronix-test-suite run universe-cli
    or
    ./phoronix-test-suite run multicore

    I get the mplayer build not completing and giving false results like

    Code:
    
    ======================================
    Timed MPlayer Compilation (Run 1 of 1)
    ======================================
    
    MPlayer Build Time: 10.51 Seconds
    
    ====================================
    Timed MPlayer Compilation:
    Time To Compile
    
    10.51 Seconds
    
    Average: 10.51 Seconds
    ====================================
    If I run just the mplayer compilation test on it's own or in some other suites I get more realistic results.

    ./phoronix-test-suite run build-mplayer
    or
    ./phoronix-test-suite run compilation


    Code:
    ======================================
    Timed MPlayer Compilation (Run 1 of 1)
    ======================================
    
    MPlayer Build Time: 85.05 Seconds
    
    ====================================
    Timed MPlayer Compilation:
    
    85.05 Seconds
    
    Average: 85.05 Seconds
    ====================================
    
    dean@linux:~/phoronix-test-suite>
    This is with using a clean install of the suite .7 version. All other tests complete fine and give realistic results. It's just mplayer in certain suites.
    Last edited by deanjo; 05-18-2008 at 07:43 AM.

  2. #2

    Default

    Hmmm very strange! Anyone else experiencing similar issues?

  3. #3
    Join Date
    Apr 2008
    Posts
    126

    Default

    mplayer doesn't work well with make -j (probably a dependency issue). Sometimes it works, sometimes it fails early on with an exit code of 2.
    Last edited by apaige; 05-18-2008 at 08:31 AM.

  4. #4
    Join Date
    May 2007
    Location
    Third Rock from the Sun
    Posts
    6,584

    Default

    Quote Originally Posted by apaige View Post
    mplayer doesn't work well with make -j (probably a dependency issue). Sometimes it works, sometimes it fails early on with an exit code of 2.

    Same here, oddly enough it only happens in the above suites listed.

    ./phoronix-test-suite run build-mplayer or ./phoronix-test-suite run compilation or just doing make -j4 never fails.

  5. #5

    Default

    Quote Originally Posted by deanjo View Post
    Same here, oddly enough it only happens in the above suites listed.

    ./phoronix-test-suite run build-mplayer or ./phoronix-test-suite run compilation or just doing make -j4 never fails.
    Can you add CFLAGS="" to your pts/test-resources/build-mplayer/install.sh in the line above the timed make line and see how it runs?

  6. #6
    Join Date
    May 2007
    Location
    Third Rock from the Sun
    Posts
    6,584

    Default

    Quote Originally Posted by Michael View Post
    Can you add CFLAGS="" to your pts/test-resources/build-mplayer/install.sh in the line above the timed make line and see how it runs?
    Made the changes requested

    Code:
    sleep 3
    CFLAGS=""
    /usr/bin/time -f \"MPlayer Build Time: %e Seconds\" make -s -j \$NUM_CPU_JOBS 2>&1 | grep Seconds" > time-compile-mplayer
    and then running

    ./phoronix-test-suite run universe-cli

    still results in this

    Code:
    ======================================
    Timed MPlayer Compilation (Run 1 of 1)
    ======================================
    
    MPlayer Build Time: 11.03 Seconds
    
    ====================================
    Timed MPlayer Compilation:
    Time To Compile
    
    11.03 Seconds
    
    Average: 11.03 Seconds
    ====================================
    Still no joy.

  7. #7
    Join Date
    May 2007
    Location
    Third Rock from the Sun
    Posts
    6,584

    Default

    What does seem to cure the issue is having the mplayer compilation being the first test ran.

    Code:
    dean@linux:~/phoronix-test-suite> ./phoronix-test-suite run universe-cli
    
    Would you like to save these benchmark results (Y/n)? y
    Enter a name to save these results: y
    Enter a unique identifier for distinguishing this series of tests: attop
    
    ====================================
    Universe-cli Test Suite
    ====================================
    
    
    Running Universe-cli Test Suite...
    
    
    ======================================
    Timed MPlayer Compilation (Run 1 of 1)
    ======================================
    
    MPlayer Build Time: 84.22 Seconds
    
    ====================================
    Timed MPlayer Compilation:
    Time To Compile
    
    84.22 Seconds
    
    Average: 84.22 Seconds
    ====================================
    
    ^C
    dean@linux:~/phoronix-test-suite> ./phoronix-test-suite run universe-cli
    
    Would you like to save these benchmark results (Y/n)? y
    Enter a name to save these results: run2
    Enter a unique identifier for distinguishing this series of tests: run2
    
    ====================================
    Universe-cli Test Suite
    ====================================
    
    
    Running Universe-cli Test Suite...
    
    
    ======================================
    Timed MPlayer Compilation (Run 1 of 1)
    ======================================
    
    MPlayer Build Time: 86.06 Seconds
    
    ====================================
    Timed MPlayer Compilation:
    Time To Compile
    
    86.06 Seconds
    
    Average: 86.06 Seconds
    ====================================
    
    ^C
    dean@linux:~/phoronix-test-suite>

  8. #8

    Default

    Quote Originally Posted by deanjo View Post
    Made the changes requested

    Code:
    sleep 3
    CFLAGS=""
    /usr/bin/time -f \"MPlayer Build Time: %e Seconds\" make -s -j \$NUM_CPU_JOBS 2>&1 | grep Seconds" > time-compile-mplayer
    and then running

    ./phoronix-test-suite run universe-cli

    still results in this

    Code:
    ======================================
    Timed MPlayer Compilation (Run 1 of 1)
    ======================================
    
    MPlayer Build Time: 11.03 Seconds
    
    ====================================
    Timed MPlayer Compilation:
    Time To Compile
    
    11.03 Seconds
    
    Average: 11.03 Seconds
    ====================================
    Still no joy.
    What about trying:

    Code:
    #!/bin/sh
    
    cd $1
    
    echo "#!/bin/sh
    
    if [ ! -f MPlayer-1.0rc2.tar.bz2 ]
      then
        echo \"MPlayer Not Installed... Build Failed.\"
        exit
    fi
    
    rm -rf MPlayer-1.0rc2/
    tar -xjf MPlayer-1.0rc2.tar.bz2
    cd MPlayer-1.0rc2/
    ./configure > /dev/null
    sleep 3
    /usr/bin/time -f \"MPlayer Build Time: %e Seconds\" make -s -j \$NUM_CPU_JOBS 2>&1 | grep Seconds
    
    if [ \$? = 2 ]
        then
    /usr/bin/time -f \"MPlayer Build Time: %e Seconds\" make -s 2>&1 | grep Seconds
        exit
    fi" > time-compile-mplayer
    
    chmod +x time-compile-mplayer

  9. #9
    Join Date
    Apr 2008
    Posts
    126

    Default

    Actually, mplayer seems to fail with make -j on my machine only when I haven't cleared CFLAGS environment variables.

  10. #10

    Default

    Quote Originally Posted by apaige View Post
    Actually, mplayer seems to fail with make -j on my machine only when I haven't cleared CFLAGS environment variables.
    So then are you thinking add CFLAGS = "" into the script?

Posting Permissions

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