Resultados 1 a 4 de 4

Tópico: ScaleWay C2 S

  1. #1
    WHT-BR Top Member
    Data de Ingresso
    Dec 2010
    Posts
    15,028

    ScaleWay C2 S

    Código:
                 _
     ___  ___ __ _| | _____      ____ _ _   _
    / __|/ __/ _` | |/ _ \ \ /\ / / _` | | | |
    \__ \ (_| (_| | |  __/\ V  V / (_| | |_| |
    |___/\___\__,_|_|\___| \_/\_/ \__,_|\__, |
                                        |___/
    
    Welcome on Debian Jessie (GNU/Linux 4.4.4-std-3 x86_64 )
    
    System information as of: Sun Mar 13 21:11:32 UTC 2016
    
    System load:    0.22            Int IP Address: 10.1.69.167
    Memory usage:   0.7%            Pub IP Address: xxx.xxx.xxx.xxx
    Usage on /:     3%              Swap usage:     0.0%
    Local Users:    0               Processes:      108
    Image build:    2016-03-10      System uptime:  1 min
    Disk nbd0:      l_ssd 50G

    Código:
    :~# date
    Sun Mar 13 21:33:31 UTC 2016
    :~# uptime
     21:33:31 up 23 min,  1 user,  load average: 0.00, 0.09, 0.20
    :~# lscpu
    Architecture:          x86_64
    CPU op-mode(s):        32-bit, 64-bit
    Byte Order:            Little Endian
    CPU(s):                4
    On-line CPU(s) list:   0-3
    Thread(s) per core:    1
    Core(s) per socket:    4
    Socket(s):             1
    Vendor ID:             GenuineIntel
    CPU family:            6
    Model:                 77
    Model name:            Intel(R) Atom(TM) CPU  C2550  @ 2.40GHz
    Stepping:              8
    CPU MHz:               2393.905
    BogoMIPS:              4787.81
    Virtualization:        VT-x
    :~# cat /proc/version
    Linux version 4.4.4-std-3 (travis@scaleway-qa.pr-338) (gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) ) #1 SMP Tue Mar 8 17:31:34 UTC 2016
    :~# cat /etc/debian_version
    8.3
    :~# uname -r
    4.4.4-std-3
    :~# uname -m
    x86_64
    :~# lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description:    Debian GNU/Linux 8.3 (jessie)
    Release:        8.3
    Codename:       jessie


    Código:
    :~# free
                 total       used       free     shared    buffers     cached
    Mem:       8130800     941924    7188876      21864      60704     786744
    -/+ buffers/cache:      94476    8036324
    Swap:            0          0          0
    
    :~# dd if=/dev/zero of=/swap bs=32k count=64k
    65536+0 records in
    65536+0 records out
    2147483648 bytes (2.1 GB) copied, 5.95583 s, 361 MB/s
    :~# mkswap /swap
    Setting up swapspace version 1, size = 2097148 KiB
    no label, UUID=a5549f26-ea83-478f-8bab-f1cbae6f9560
    :~# chmod 0600 /swap
    :~# swapon /swap
    
    :~# free
                 total       used       free     shared    buffers     cached
    Mem:       8130800      86396    8044404      21864        584      37124
    -/+ buffers/cache:      48688    8082112
    Swap:      2097148          0    2097148

    Código:
    :~# df -h
    Filesystem      Size  Used Avail Use% Mounted on
    none            3.9G     0  3.9G   0% /dev
    tmpfs           795M   22M  773M   3% /run
    /dev/nbd0        46G  3.5G   40G   8% /
    tmpfs           3.9G     0  3.9G   0% /dev/shm
    tmpfs           5.0M     0  5.0M   0% /run/lock
    tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup

    Código:
    :~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
    16384+0 records in
    16384+0 records out
    1073741824 bytes (1.1 GB) copied, 5.47228 s, 196 MB/s

    Código:
    :~# cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 77
    model name      : Intel(R) Atom(TM) CPU  C2550  @ 2.40GHz
    stepping        : 8
    microcode       : 0x127
    cpu MHz         : 2393.905
    cache size      : 1024 KB
    physical id     : 0
    siblings        : 4
    core id         : 0
    cpu cores       : 4
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
    bugs            :
    bogomips        : 4787.81
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 77
    model name      : Intel(R) Atom(TM) CPU  C2550  @ 2.40GHz
    stepping        : 8
    microcode       : 0x127
    cpu MHz         : 2393.905
    cache size      : 1024 KB
    physical id     : 0
    siblings        : 4
    core id         : 1
    cpu cores       : 4
    apicid          : 2
    initial apicid  : 2
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
    bugs            :
    bogomips        : 4787.81
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    processor       : 2
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 77
    model name      : Intel(R) Atom(TM) CPU  C2550  @ 2.40GHz
    stepping        : 8
    microcode       : 0x127
    cpu MHz         : 2393.905
    cache size      : 1024 KB
    physical id     : 0
    siblings        : 4
    core id         : 2
    cpu cores       : 4
    apicid          : 4
    initial apicid  : 4
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
    bugs            :
    bogomips        : 4787.81
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    
    processor       : 3
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 77
    model name      : Intel(R) Atom(TM) CPU  C2550  @ 2.40GHz
    stepping        : 8
    microcode       : 0x127
    cpu MHz         : 2393.905
    cache size      : 1024 KB
    physical id     : 0
    siblings        : 4
    core id         : 3
    cpu cores       : 4
    apicid          : 6
    initial apicid  : 6
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms
    bugs            :
    bogomips        : 4787.81
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:

    Código:
    :~# cat /proc/meminfo
    MemTotal:        8130800 kB
    MemFree:         8037424 kB
    MemAvailable:    7968244 kB
    Buffers:            2260 kB
    Cached:            42212 kB
    SwapCached:            0 kB
    Active:            32572 kB
    Inactive:          29332 kB
    Active(anon):      17428 kB
    Inactive(anon):    21864 kB
    Active(file):      15144 kB
    Inactive(file):     7468 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:       2097148 kB
    SwapFree:        2097148 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:         17452 kB
    Mapped:            14776 kB
    Shmem:             21864 kB
    Slab:              13696 kB
    SReclaimable:       2832 kB
    SUnreclaim:        10864 kB
    KernelStack:        1632 kB
    PageTables:         1292 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:     6162548 kB
    Committed_AS:      51132 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:           0 kB
    VmallocChunk:          0 kB
    DirectMap4k:       11264 kB
    DirectMap2M:     8339456 kB

    Código:
    :~# wget -O /dev/null http://cachefly.cachefly.net/100mb.test
    --2016-03-13 21:36:59--  http://cachefly.cachefly.net/100mb.test
    Resolving cachefly.cachefly.net (cachefly.cachefly.net)... 205.234.175.175
    Connecting to cachefly.cachefly.net (cachefly.cachefly.net)|205.234.175.175|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 104857600 (100M) [application/octet-stream]
    Saving to: ‘/dev/null’
    
    /dev/null                 100%[==========>] 100.00M  28.9MB/s   in 3.4s
    
    2016-03-13 21:37:02 (29.6 MB/s) - ‘/dev/null’ saved [104857600/104857600]

  2. #2
    WHT-BR Top Member
    Data de Ingresso
    Dec 2010
    Posts
    15,028
    Código:
       BYTE UNIX Benchmarks (Version 5.1.3)
    
       System: : GNU/Linux
       OS: GNU/Linux -- 4.4.4-std-3 -- #1 SMP Tue Mar 8 17:31:34 UTC 2016
       Machine: x86_64 (unknown)
       Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
       CPU 0: Intel(R) Atom(TM) CPU C2550 @ 2.40GHz (4787.8 bogomips)
              Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
       CPU 1: Intel(R) Atom(TM) CPU C2550 @ 2.40GHz (4787.8 bogomips)
              Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
       CPU 2: Intel(R) Atom(TM) CPU C2550 @ 2.40GHz (4787.8 bogomips)
              Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
       CPU 3: Intel(R) Atom(TM) CPU C2550 @ 2.40GHz (4787.8 bogomips)
              Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
       21:41:29 up 31 min,  1 user,  load average: 0.01, 0.04, 0.13; runlevel 3
    
    ------------------------------------------------------------------------
    Benchmark Run: Sun Mar 13 2016 21:41:29 - 22:02:09
    4 CPUs in system; running 1 parallel copy of tests
    
    Dhrystone 2 using register variables       12022851.6 lps   (10.0 s, 7 samples)
    Double-Precision Whetstone                     1996.6 MWIPS (10.0 s, 7 samples)
    Execl Throughput                               2941.6 lps   (29.9 s, 2 samples)
    Pipe Throughput                             1179442.0 lps   (10.0 s, 7 samples)
    Pipe-based Context Switching                 163712.9 lps   (10.0 s, 7 samples)
    Process Creation                               6830.3 lps   (30.0 s, 2 samples)
    Shell Scripts (1 concurrent)                   4107.9 lpm   (60.0 s, 2 samples)
    Shell Scripts (8 concurrent)                   1416.0 lpm   (60.0 s, 2 samples)
    System Call Overhead                        1716610.7 lps   (10.0 s, 7 samples)
    
    System Benchmarks Partial Index              BASELINE       RESULT    INDEX
    Dhrystone 2 using register variables         116700.0   12022851.6   1030.2
    Double-Precision Whetstone                       55.0       1996.6    363.0
    Execl Throughput                                 43.0       2941.6    684.1
    Pipe Throughput                               12440.0    1179442.0    948.1
    Pipe-based Context Switching                   4000.0     163712.9    409.3
    Process Creation                                126.0       6830.3    542.1
    Shell Scripts (1 concurrent)                     42.4       4107.9    968.9
    Shell Scripts (8 concurrent)                      6.0       1416.0   2360.0
    System Call Overhead                          15000.0    1716610.7   1144.4
                                                                       ========
    System Benchmarks Index Score (Partial Only)                          804.3
    
    ------------------------------------------------------------------------
    Benchmark Run: Sun Mar 13 2016 22:02:09 - 22:22:55
    4 CPUs in system; running 4 parallel copies of tests
    
    Dhrystone 2 using register variables       48045281.8 lps   (10.0 s, 7 samples)
    Double-Precision Whetstone                     7985.0 MWIPS (10.0 s, 7 samples)
    Execl Throughput                               8454.2 lps   (29.8 s, 2 samples)
    Pipe Throughput                             4641905.8 lps   (10.0 s, 7 samples)
    Pipe-based Context Switching                 617794.6 lps   (10.0 s, 7 samples)
    Process Creation                              15941.8 lps   (30.0 s, 2 samples)
    Shell Scripts (1 concurrent)                  11326.3 lpm   (60.0 s, 2 samples)
    Shell Scripts (8 concurrent)                   1729.6 lpm   (60.1 s, 2 samples)
    System Call Overhead                        4730534.9 lps   (10.0 s, 7 samples)
    
    System Benchmarks Partial Index              BASELINE       RESULT    INDEX
    Dhrystone 2 using register variables         116700.0   48045281.8   4117.0
    Double-Precision Whetstone                       55.0       7985.0   1451.8
    Execl Throughput                                 43.0       8454.2   1966.1
    Pipe Throughput                               12440.0    4641905.8   3731.4
    Pipe-based Context Switching                   4000.0     617794.6   1544.5
    Process Creation                                126.0      15941.8   1265.2
    Shell Scripts (1 concurrent)                     42.4      11326.3   2671.3
    Shell Scripts (8 concurrent)                      6.0       1729.6   2882.6
    System Call Overhead                          15000.0    4730534.9   3153.7
                                                                       ========
    System Benchmarks Index Score (Partial Only)                         2337.2

  3. #3
    WHT-BR Top Member
    Data de Ingresso
    Dec 2010
    Posts
    15,028

    Exclamation Linux kernel headers

    Zachary Zimmerman
    Posted on March 10, 2016

    Scaleway now has a very nice x86_64 offering, where one can utilize a bare metal server with up to 32GB of ram for just €0.05 an hour. One caveat of their service is that they inject their own kernel whilst the machine boots. This means that obtaining the Linux kernel headers for the kernel to compile the Virtual Box kernel module can be a bit tricky.

    At the time of writing, a script included with the servers (/usr/local/sbin/oc-sync-kernel-headers) is supposed to handle syncing the currently selected kernel’s headers to the server, however this script does not work for Scaleway’s x86_64 offerings.

    To get VirtualBox working on a Scaleway box:

    1. Download and extract the Kernel Sources currently used by Scaleway. At the time of writing, this is 4.4.4:
      1. sudo su
      2. cd ~
      3. wget https://www.kernel.org/pub/linux/ker...x-4.4.4.tar.xz
      4. tar xvfJ linux-4.4.4.tar.xz

    2. Download Scaleway’s kernel configuration file and place it in the Kernel’s root source directory
      1. wget https://raw.githubusercontent.com/sc....4-std/.config
      2. mv .config linux-4.4.4/

    3. Compile the Kernel
      1. make -j8
        1. Replace 8 with the number of cores you would like to use


    4. Compile the Virtualbox Kernel Module
      1. export KERN_DIR=/root/linux-4.4.4/
      2. /sbin/rcvboxdrv setup



    Ianloic below has mentioned that some changes were made to the .config file. One that works can be downloaded here:
    https://raw.githubusercontent.com/sc....4-std/.config



    • ianloic


    Awesome! Except scaleway renamed / removed that .config so I had to get a version from a specific commit, not master:
    https://raw.githubusercontent.com/sc....4-std/.config

  4. #4
    WHT-BR Top Member
    Data de Ingresso
    Dec 2010
    Posts
    15,028
    "obtaining the Linux kernel headers ... can be a bit tricky"

    Excelente exemplo de "understatement"

    BTW a alocação de servidores C1 agora é uma loteria.

Permissões de Postagem

  • Você não pode iniciar novos tópicos
  • Você não pode enviar respostas
  • Você não pode enviar anexos
  • Você não pode editar suas mensagens
  •