Announcement

Collapse
No announcement yet.

The Lenovo T450s Is Working Beautifully With Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by Michael View Post
    Test profiles aren't even PHP. Here's what build-linux-kernel does: http://openbenchmarking.org/innhold/...12fe2931f0645f
    My bad, I thought all of PTS was in php. I'll flip through it today while I'm at work, see what running it by hand gets me
    All opinions are my own not those of my employer if you know who they are.

    Comment


    • #12
      Originally posted by Ericg View Post
      Just reran it

      Test Results:
      30.589812040329
      27.141097068787
      27.059966087341
      27.058166027069
      27.104182004929
      27.083301067352

      Average: 27.67 Seconds


      Not saying you're wrong, dungeon, cause that is rather odd, but if the test is broken then its consistently broken. That wasn't a just 'one time' fluke.
      Yeah it might tried to compile but failed (or some dep is missing, etc.), and should fail to give results in that case - 27 seconds is obviously impossible to be correct for that laptop. For that result you will need 32 maybe all 40 very fast cores to gain that as this is probably 2 times faster then 20 core Xeon can do
      Last edited by dungeon; 16 April 2015, 12:26 PM.

      Comment


      • #13
        Originally posted by dungeon View Post
        Yeah it might tried to compile but failed, and should fail to give results in that case - 27 seconds is obviously impossible to be correct for that laptop. For that result you will need 32 maybe all 40 very fast cores to gain that as this is probably 2 times faster then 20 core Xeon can do
        If make in the build-linux-kernel test profile returned a bad exit status, PTS does fail to deliver the results. Not sure what's happening in Eric's case.
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #14
          Originally posted by Michael View Post
          If make in the build-linux-kernel test profile returned a bad exit status, PTS does fail to deliver the results. Not sure what's happening in Eric's case.
          Alright. Had a free few minutes so I went into and played around. I won't post the results because I figured out whats happening.

          Fedora has ccache installed. Don't know if I accidentally pulled it in as a dep, or if it is installed by default as of F21. Michael is there anyway to force ccache into a disabled mode other than uninstalling it?
          All opinions are my own not those of my employer if you know who they are.

          Comment


          • #15
            For those who ARE curious. Make defconfig

            [egriffith@eric-laptop linux-4.0]$ time make -s -j3
            Setup is 15660 bytes (padded to 15872 bytes).
            System is 5858 kB
            CRC 90b7e642
            Kernel: arch/x86/boot/bzImage is ready (#1)

            real 6m15.358s
            user 16m21.817s
            sys 1m55.572s
            All opinions are my own not those of my employer if you know who they are.

            Comment


            • #16
              Originally posted by Ericg View Post
              Alright. Had a free few minutes so I went into and played around. I won't post the results because I figured out whats happening.

              Fedora has ccache installed. Don't know if I accidentally pulled it in as a dep, or if it is installed by default as of F21. Michael is there anyway to force ccache into a disabled mode other than uninstalling it?
              PTS nowhere is directly trying to use ccache nor does it attempt to install it, so not sure in particular what's happening. Where on your system is ccache installed?
              Michael Larabel
              https://www.michaellarabel.com/

              Comment


              • #17
                Originally posted by Michael View Post
                PTS nowhere is directly trying to use ccache nor does it attempt to install it, so not sure in particular what's happening. Where on your system is ccache installed?
                Well when I did make -s -j3 originally (printed above) it was 6mins. When I tried it again (after rm'ing the dir and re-extracting) but with make -j4 it was 30seconds. So the only thing I can think of is its using ccache, which is installed.

                My user's ccache cache is... "~/.ccache"

                ccache's files are...

                [egriffith@eric-laptop .ccache]$ locate ccache
                /etc/profile.d/ccache.csh
                /etc/profile.d/ccache.sh
                /usr/bin/ccache
                /usr/lib/python2.7/site-packages/mockbuild/plugins/ccache.py
                /usr/lib/python2.7/site-packages/mockbuild/plugins/ccache.pyc
                /usr/lib/python2.7/site-packages/mockbuild/plugins/ccache.pyo
                /usr/lib64/ccache
                /usr/lib64/ccache/c++
                /usr/lib64/ccache/cc
                /usr/lib64/ccache/g++
                /usr/lib64/ccache/gcc
                /usr/lib64/ccache/x86_64-redhat-linux-c++
                /usr/lib64/ccache/x86_64-redhat-linux-g++
                /usr/lib64/ccache/x86_64-redhat-linux-gcc
                /usr/share/bash-completion/completions/ccache
                /usr/share/doc/ccache
                /usr/share/doc/ccache/AUTHORS.html
                /usr/share/doc/ccache/AUTHORS.txt
                /usr/share/doc/ccache/MANUAL.html
                /usr/share/doc/ccache/MANUAL.txt
                /usr/share/doc/ccache/NEWS.html
                /usr/share/doc/ccache/NEWS.txt
                /usr/share/doc/ccache/README.html
                /usr/share/doc/ccache/README.txt
                /usr/share/licenses/ccache
                /usr/share/licenses/ccache/GPL-3.0.txt
                /usr/share/licenses/ccache/LICENSE.html
                /usr/share/licenses/ccache/LICENSE.txt
                /usr/share/man/man1/ccache.1.gz
                /var/cache/ccache
                /var/lib/dnf/yumdb/c/621c4a33ef39c7207b3f0782b3105e276996006a-ccache-3.1.10-1.fc21-x86_64
                /var/lib/dnf/yumdb/c/621c4a33ef39c7207b3f0782b3105e276996006a-ccache-3.1.10-1.fc21-x86_64/checksum_data
                /var/lib/dnf/yumdb/c/621c4a33ef39c7207b3f0782b3105e276996006a-ccache-3.1.10-1.fc21-x86_64/checksum_type
                /var/lib/dnf/yumdb/c/621c4a33ef39c7207b3f0782b3105e276996006a-ccache-3.1.10-1.fc21-x86_64/command_line
                /var/lib/dnf/yumdb/c/621c4a33ef39c7207b3f0782b3105e276996006a-ccache-3.1.10-1.fc21-x86_64/from_repo
                /var/lib/dnf/yumdb/c/621c4a33ef39c7207b3f0782b3105e276996006a-ccache-3.1.10-1.fc21-x86_64/installed_by
                /var/lib/dnf/yumdb/c/621c4a33ef39c7207b3f0782b3105e276996006a-ccache-3.1.10-1.fc21-x86_64/reason
                /var/lib/dnf/yumdb/c/621c4a33ef39c7207b3f0782b3105e276996006a-ccache-3.1.10-1.fc21-x86_64/releasever
                All opinions are my own not those of my employer if you know who they are.

                Comment


                • #18
                  Originally posted by Ericg View Post
                  Well when I did make -s -j3 originally (printed above) it was 6mins. When I tried it again (after rm'ing the dir and re-extracting) but with make -j4 it was 30seconds. So the only thing I can think of is its using ccache, which is installed.

                  My user's ccache cache is... "~/.ccache"

                  ccache's files are...
                  Do you have any gcc/cc symlinked to ccache? What does your $PATH look like?
                  Michael Larabel
                  https://www.michaellarabel.com/

                  Comment


                  • #19
                    Originally posted by Michael View Post
                    Do you have any gcc/cc symlinked to ccache? What does your $PATH look like?
                    I was about to post that before ya asked lol.

                    [egriffith@eric-laptop ~]$ echo $PATH
                    /usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/bin:/usr/bin:/usr/local/bin:/usr/games/:/usr/local/sbin:/usr/sbin:/home/egriffith/.local/bin:/home/egriffith/bin


                    ccache is before /usr/bin, therefore the /usr/lib64/ccache/{gcc,g++,clang,etc} will all get picked before /usr/bin/{gcc,g++,clang,etc} thus silently using ccache.
                    All opinions are my own not those of my employer if you know who they are.

                    Comment


                    • #20
                      Originally posted by Ericg View Post
                      I was about to post that before ya asked lol.

                      [egriffith@eric-laptop ~]$ echo $PATH
                      /usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/bin:/usr/bin:/usr/local/bin:/usr/games/:/usr/local/sbin:/usr/sbin:/home/egriffith/.local/bin:/home/egriffith/bin


                      ccache is before /usr/bin, therefore the /usr/lib64/ccache/{gcc,g++,clang,etc} will all get picked before /usr/bin/{gcc,g++,clang,etc} thus silently using ccache.
                      Well, that makes a lot of sense since it's a sensible default to use ccache.

                      Comment

                      Working...
                      X