Strong Suggestion: OpenSUSE Linux-Bench

Discussion in 'Linux-Bench Results and Discussion' started by Jeggs101, Jan 22, 2016.

  1. Jeggs101

    Jeggs101 Well-Known Member

    Joined:
    Dec 29, 2010
    Messages:
    1,455
    Likes Received:
    211
    @Patrick @Chuckleb @Patriot and others - I just started playing with: Welcome – SUSE Studio

    It seems absolutely perfect for Linux-Bench.

    You can make a custom bootable ISO including installing from repos. You can upload files directly to the image. You can then have it run scripts (aka Linux-Bench) at startup.

    That would make the process ridiculously simple. Boot on the ISO and let it rip. You can also make disk images (VMware, Xen, Hyper-V, KVM), USB stick images, and preload ISOs.

    Here's what I'd suggest:
    • Make a standard custom OpenSUSE LiveCD ISO image
    • On the startup script have it run Linux-Bench
    I think the only real thing that would need to happen to make this work is to covert all of the dependencies to YaST. There is a GUI to guide you though it.

    To make it even easier I even found an OpenSUSE benchmark repo: Index of /repositories/benchmark/openSUSE_13.2

    That might have even more of what you might want to add.
     
    #1
    Patrick and Chuckleb like this.
  2. Deslok

    Deslok Active Member

    Joined:
    Jul 15, 2015
    Messages:
    938
    Likes Received:
    99
    I use it to build custom systems in hyper-v all the time it's fantastic I think i've even suggested others here use it!
    (hell maybe we could make an offical STH server distro even XD)
     
    #2
    Patrick likes this.
  3. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    #3
  4. Patriot

    Patriot Moderator

    Joined:
    Apr 18, 2011
    Messages:
    1,257
    Likes Received:
    651
    You can do kickstart files with CentOS and Ubuntu as well... I would think the better approach is doing containers with docker personally... Which @Chuckleb has already been working on.

    Perhaps you can play with it a bit more and join the dev team. @Jeggs101
     
    #4
  5. Deslok

    Deslok Active Member

    Joined:
    Jul 15, 2015
    Messages:
    938
    Likes Received:
    99
    Custom repositories/RPM's can be added at the software tab when you're going through a build and under configuration there's a script's section where you can add a first boot/every boot script to update things or to deploy something from custom uploaded files. I'm a bit busy with weather today(no one ever remembers their vpn password) but i could take a look into it if someone hasn't figured it out by the time things slow down XD
     
    #5
  6. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    Looks like that OpenSUSE repo does not have sysbench :-/
     
    #6
  7. Deslok

    Deslok Active Member

    Joined:
    Jul 15, 2015
    Messages:
    938
    Likes Received:
    99
    Has anyone ever built sysbench for OpenSuse before?
     
    #7
  8. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    Things I could not find:
    1. php5-common
    2. sysbench
    3. php5-cli
    4. libfpdi-php
    5. gfortran (found libgfortran though)
    My username is linux_bench

    Shoot me a PM and I can share how far I have gotten.
     
    #8
  9. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    #9
  10. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    For a lot of the hardware burn-in and benchmarking having the auto-run ISO mounted via IPMI would be really nice.
     
    #10
  11. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    OK - I have it at minimum running hardinfo and NAMD (thanks @Jeggs101 for the help on that one)

    [Edit NAMD did not work]

    @Deslok thanks for the repo tip. Sysbench should be in the next build.
     
    #11
    Last edited: Jan 22, 2016
  12. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    #12
  13. Chuckleb

    Chuckleb Moderator

    Joined:
    Mar 5, 2013
    Messages:
    1,017
    Likes Received:
    330
    I made an account as well so tell me if you need help @Patrick
     
    #13
  14. Deslok

    Deslok Active Member

    Joined:
    Jul 15, 2015
    Messages:
    938
    Likes Received:
    99
    Why do we report memory in KB instead of a higher unit?
     
    #14
  15. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    #15
  16. Deslok

    Deslok Active Member

    Joined:
    Jul 15, 2015
    Messages:
    938
    Likes Received:
    99
    That looks fantastic, And to think i thought the highlight of my day was going to be doing vpn password resets
     
    #16
  17. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    Parsing raw output.

    Running v0.0.3 and it just did c-ray - more improvement.
     
    #17
  18. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    Wow - OK @Chuckleb check this: Linux-Bench Linux CPU Benchmarks by ServeTheHome and ServeThe.Biz

    7-Zip and UnixBench are the only ones not working. Here is the UnixBench one.
    Code:
    Building UnixBench
    --2016-01-22 12:55:17--  https://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
    Resolving byte-unixbench.googlecode.com (byte-unixbench.googlecode.com)... 173.194.79.82, 2607:f8b0:400e:c03::52
    Connecting to byte-unixbench.googlecode.com (byte-unixbench.googlecode.com)|173.194.79.82|:443... connected.
    ERROR: cannot verify byte-unixbench.googlecode.com's certificate, issued by ‘/C=US/O=Google Inc/CN=Google Internet Authority G2’:
      Unable to locally verify the issuer's authority.
    To connect to byte-unixbench.googlecode.com insecurely, use `--no-check-certificate'.
    --2016-01-22 12:55:17--  http://linuxbench.servethehome.com/benchfiles/fix-limitation.patch
    Resolving linuxbench.servethehome.com (linuxbench.servethehome.com)... 199.195.128.130
    Connecting to linuxbench.servethehome.com (linuxbench.servethehome.com)|199.195.128.130|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1306 (1.3K) [application/octet-stream]
    Server file no newer than local file ‘fix-limitation.patch’ -- not retrieving.
    
    tar (child): UnixBench5.1.3.tgz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    /dev/fd/62: line 305: cd: UnixBench: No such file or directory
    mv: cannot stat ‘../fix-limitation.patch’: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    patching file Run
    Hunk #1 FAILED at 105.
    Hunk #2 FAILED at 1328.
    patch: **** Can't reopen file Run : No such file or directory
    Running UnixBench
    /dev/fd/62: line 310: ./Run: No such file or directory
    
    
    I guess we can package these up locally?

    7-zip seems to be needing to add g++?
    Code:
    p7zip
    Building p7zip
    make[1]: g++: Command not found
    make[1]: *** [myGetTickCount.o] Error 127
    make: *** [7za] Error 2
    Starting 7zip benchmark, this will take a while
    /dev/fd/62: line 565: bin/7za: No such file or directory
    Compress speed (MIPS):
    Decompress speed (MIPS):
    
    
     
    #18
  19. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    OK 7-zip is compiling, UnixBench was erroring out because of HTTPS authentication issue with Google.

    This new build I added the auto script run feature. It is still running essentially the old code with that one edit. We may want to change the script and run from local files in the future I did add them all to the /root/ folder in the image so there is no need to download at this point.
     
    #19
  20. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    11,476
    Likes Received:
    4,422
    It is slightly hard to see what it is doing when it auto-boots and runs.

    upload_2016-1-22_14-18-50.png

    I logged in and saw that which is making me happy.
     
    #20
Similar Threads: Strong Suggestion
Forum Title Date
Linux-Bench Results and Discussion Linux-Bench: suggestion Mar 1, 2017
Linux-Bench Results and Discussion suggestion Mar 10, 2016

Share This Page