Tuxedo Computer : Script bash pour comprendre pourquoi le bruit du ventilateur

49 x served & 18 x viewed

Voici donc le script que j’ai fait :

#!/bin/bash

#
# MariaDB [mysql]> create database CPU;
# Query OK, 1 row affected (0.00 sec)

# MariaDB [(none)]> CREATE USER 'arias'@'localhost' IDENTIFIED BY 'arias';
# Query OK, 0 rows affected (0.00 sec)

# MariaDB [(none)]> GRANT USAGE ON *.* TO 'arias'@'localhost' IDENTIFIED BY 'arias';
# Query OK, 0 rows affected (0.00 sec)

# MariaDB [(none)]>  GRANT ALL privileges ON CPU.* TO 'arias'@'localhost';
# Query OK, 0 rows affected (0.00 sec)

# MariaDB [(none)]> FLUSH PRIVILEGES;
# Query OK, 0 rows affected (0.00 sec)
#
#
#mysql -u root -e "CREATE DATABASE CPU;"
#mysql -u root -e "USE CPU; CREATE TABLE information (date datetime, cpu float, fanId int, rawFanDuty int, fanDuty float, remoteTemp int, localTemp int);"

CPU_USAGE=$(awk '{u=$2+$4; t=$2+$4+$5; if (NR==1){u1=u; t1=t;} else print ($2+$4-u1) * 100 / (t-t1) "%"; }' <(grep 'cpu ' /proc/stat) <(sleep 1;grep 'cpu ' /proc/stat))
DATE=$(date "+%Y-%m-%d %H:%M:%S")
CPU_USAGE_2=$(echo $CPU_USAGE | sed 's/%//g' )
/usr/bin/tuxedofancontrol --show > /tmp/tuxedofancontrol.out
FANID=$(cat /tmp/tuxedofancontrol.out | grep "fanId" | awk '{print $2}' | sed 's/,//g') 
RAWFANDUTY=$(cat /tmp/tuxedofancontrol.out | grep "rawFanDuty" | awk  '{print $2}' | sed 's/,//g' )
FANDUTY=$(cat /tmp/tuxedofancontrol.out | grep "fanDuty" | awk '{print $2}' | sed 's/,//g')
REMOTETEMP=$(cat /tmp/tuxedofancontrol.out | grep "remoteTemp:" | awk '{print $2}' | sed 's/,//g')
LOCALTEMP=$(cat /tmp/tuxedofancontrol.out | grep "localTemp:" | awk '{print $2}' | sed 's/,//g' )

if [ ! -z $FANID ]
then
        SQL="USE CPU; INSERT INTO information (date, cpu, fanId, rawFanDuty, fanDuty, remoteTemp, localTemp) VALUES ('$DATE',$CPU_USAGE_2,$FANID,$RAWFANDUTY,$FANDUTY,$REMOTETEMP,$LOCALTEMP);"
else
        SQL="USE CPU; INSERT INTO information (date, cpu) VALUES ('$DATE',$CPU_USAGE_2);"
fi

echo $SQL > /tmp/lastsql.out
mysql -u root -e "$SQL"

C’est assez simple, je prends la date et l’utilisation du CPU. Et aussi je note toutes les informations de tuxedofancontrol.
J’ai mis le script toutes les 2 minutes dans ma crontab, ensuite je ferai un script pour Grafana.

$ sudo crontab -l
*/2 * * * * /home/arias/Bash/cpu.bash

Par exemple :

A suivre.

Visiblement je ne suis pas le seul à trouver le ventilateur un peu trop bruyant : https://www.tuxedocomputers.com/en/Infos/Help-Support/Frequently-asked-questions/Why-is-the-ventilator-so-loud-.tuxedo .

Why is the ventilator so loud?

IMPORTANT: There are ventilation slots on the bottom side through which the ventilator(s) suck in air. Never place your notebook on a pillow, couch, bed, blanket or tablecloth. In the worst case scenario, the notebook can overheat and cause serious damage.

The ventilator noise depends largely on the system load. If the processor has to work a lot, it consumes a lot of power, which leads to increased waste heat that somehow has to be cooled. If the ventilation slots are covered, the ventilator(s) cannot suck in any air. This has a negative effect on the cooling performance, the ventilator(s) must rotate faster to provide sufficient cooling and the noise level is significantly higher.

TUXEDO InfinityBook Pro 14 v5 : Benchmark with sysbench

71 x served & 36 x viewed

Quelques informations sur le portable :

$ uname -a
Linux CYBERNEURONES 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ sudo lshw 
cyberneurones           
    description: Notebook
    product: TUXEDO (Not Applicable)
    vendor: TUXEDO
    version: Not Applicable
    serial: Not Applicable
    width: 64 bits
    capabilities: smbios-3.2 dmi-3.2 smp vsyscall32
    configuration: boot=normal chassis=notebook family=Not Applicable sku=Not Applicable uuid=94DE4CEE-9B10-5742-BC5A-76E9661D41DC
  *-core
       description: Motherboard
       product: N141CU
       vendor: TUXEDO
       physical id: 0
       version: Not Applicable
       serial: Not Applicable
       slot: Not Applicable
     *-firmware
          description: BIOS
          vendor: INSYDE Corp.
          physical id: 0
          version: 1.07.04RTR1
          date: 10/02/2019
          size: 128KiB
          capacity: 11MiB
          capabilities: pci upgrade shadowing cdboot bootselect edd int9keyboard int10video acpi usb biosbootspecification uefi
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
          serial: To Be Filled By O.E.M.
          slot: U3E1
          size: 1900MHz
          capacity: 4200MHz
          width: 64 bits
          clock: 100MHz
          capabilities: x86-64 fpu fpu_exception wp 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 pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities cpufreq
          configuration: cores=4 enabledcores=4 threads=8
        *-cache:0
             description: L1 cache
             physical id: 5
             slot: L1 Cache
             size: 256KiB
             capacity: 256KiB
             capabilities: synchronous internal write-back unified
             configuration: level=1
        *-cache:1
             description: L2 cache
             physical id: 6
             slot: L2 Cache
             size: 1MiB
             capacity: 1MiB
             capabilities: synchronous internal write-back unified
             configuration: level=2
        *-cache:2
             description: L3 cache
             physical id: 7
             slot: L3 Cache
             size: 6MiB
             capacity: 6MiB
             capabilities: synchronous internal write-back unified
             configuration: level=3
     *-memory
          description: System Memory
          physical id: 19
          slot: System board or motherboard
          size: 64GiB
        *-bank:0
             description: SODIMM DDR4 Synchronous 2667 MHz (0,4 ns)
             product: M471A4G43MB1-CTD
             vendor: Samsung
             physical id: 0
             serial: 03A85A99
             slot: ChannelA-DIMM0
             size: 32GiB
             width: 64 bits
             clock: 2667MHz (0.4ns)
        *-bank:1
             description: SODIMM DDR4 Synchronous 2667 MHz (0,4 ns)
             product: M471A4G43MB1-CTD
             vendor: Samsung
             physical id: 1
             serial: 03A85BD7
             slot: ChannelB-DIMM0
             size: 32GiB
             width: 64 bits
             clock: 2667MHz (0.4ns)
     *-pci
          description: Host bridge
          product: Intel Corporation
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 0c
          width: 32 bits
          clock: 33MHz
        *-display
             description: VGA compatible controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             logical name: /dev/fb0
             version: 02
             width: 64 bits
             clock: 33MHz
             capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
             configuration: depth=32 driver=i915 latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
             resources: iomemory:600-5ff iomemory:400-3ff irq:158 memory:6024000000-6024ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff
        *-generic UNCLAIMED
             description: Signal processing controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 12
             bus info: pci@0000:00:12.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: latency=0
             resources: iomemory:600-5ff memory:6025109000-6025109fff
        *-usb
             description: USB controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:126 memory:96100000-9610ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 5.0.0-37-generic xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 5.00
                capabilities: usb-2.00
                configuration: driver=hub slots=12 speed=480Mbit/s
              *-usb:0
                   description: Mouse
                   product: 2.4G Wireless Mouse
                   vendor: MOSART Semi.
                   physical id: 1
                   bus info: usb@1:1
                   version: 1.00
                   capabilities: usb-1.10
                   configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
              *-usb:1
                   description: Video
                   product: Chicony USB2.0 Camera
                   vendor: Sonix Technology Co., Ltd.
                   physical id: 7
                   bus info: usb@1:7
                   version: 54.03
                   capabilities: usb-2.00
                   configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
              *-usb:2
                   description: Bluetooth wireless interface
                   vendor: Intel Corp.
                   physical id: a
                   bus info: usb@1:a
                   version: 0.02
                   capabilities: bluetooth usb-2.00
                   configuration: driver=btusb maxpower=100mA speed=12Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 5.0.0-37-generic xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.00
                capabilities: usb-3.10
                configuration: driver=hub slots=6 speed=10000Mbit/s
        *-memory UNCLAIMED
             description: RAM memory
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 14.2
             bus info: pci@0000:00:14.2
             version: 00
             width: 64 bits
             clock: 33MHz (30.3ns)
             capabilities: pm bus_master cap_list
             configuration: latency=0
             resources: iomemory:600-5ff iomemory:600-5ff memory:6025104000-6025105fff memory:6025108000-6025108fff
        *-communication
             description: Communication controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: iomemory:600-5ff irq:147 memory:6025107000-6025107fff
        *-storage
             description: SATA controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 17
             bus info: pci@0000:00:17.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:128 memory:96110000-96111fff memory:96114000-961140ff ioport:5080(size=8) ioport:5088(size=4) ioport:5060(size=32) memory:96113000-961137ff
        *-pci:0
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:122 ioport:6000(size=8192) memory:80000000-960fffff ioport:6000000000(size=570425344)
           *-pci
                description: PCI bridge
                product: JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 06
                width: 32 bits
                clock: 33MHz
                capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
                configuration: driver=pcieport
                resources: irq:16 ioport:6000(size=4096) memory:80000000-960fffff ioport:6000000000(size=570425344)
              *-pci:0
                   description: PCI bridge
                   product: JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
                   vendor: Intel Corporation
                   physical id: 0
                   bus info: pci@0000:02:00.0
                   version: 06
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:16 memory:96000000-960fffff
                 *-generic
                      description: System peripheral
                      product: JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018]
                      vendor: Intel Corporation
                      physical id: 0
                      bus info: pci@0000:03:00.0
                      version: 06
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress msix bus_master cap_list
                      configuration: driver=thunderbolt latency=0
                      resources: irq:16 memory:96000000-9603ffff memory:96040000-96040fff
              *-pci:1
                   description: PCI bridge
                   product: JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
                   vendor: Intel Corporation
                   physical id: 1
                   bus info: pci@0000:02:01.0
                   version: 06
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:125 ioport:6000(size=4096) memory:80000000-95efffff ioport:6000000000(size=570425344)
              *-pci:2
                   description: PCI bridge
                   product: JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
                   vendor: Intel Corporation
                   physical id: 2
                   bus info: pci@0000:02:02.0
                   version: 06
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
                   configuration: driver=pcieport
                   resources: irq:18 memory:95f00000-95ffffff
                 *-usb
                      description: USB controller
                      product: JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018]
                      vendor: Intel Corporation
                      physical id: 0
                      bus info: pci@0000:3a:00.0
                      version: 06
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress xhci cap_list
                      configuration: driver=xhci_hcd latency=0
                      resources: irq:127 memory:95f00000-95f0ffff
                    *-usbhost:0
                         product: xHCI Host Controller
                         vendor: Linux 5.0.0-37-generic xhci-hcd
                         physical id: 0
                         bus info: usb@3
                         logical name: usb3
                         version: 5.00
                         capabilities: usb-2.00
                         configuration: driver=hub slots=2 speed=480Mbit/s
                    *-usbhost:1
                         product: xHCI Host Controller
                         vendor: Linux 5.0.0-37-generic xhci-hcd
                         physical id: 1
                         bus info: usb@4
                         logical name: usb4
                         version: 5.00
                         capabilities: usb-3.10
                         configuration: driver=hub slots=2 speed=10000Mbit/s
        *-pci:1
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:123 ioport:4000(size=4096) memory:98000000-98ffffff ioport:6022000000(size=16777216)
           *-generic
                description: Unassigned class
                product: RTL8411B PCI Express Card Reader
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:3b:00.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list rom
                configuration: driver=rtsx_pci latency=0
                resources: irq:129 memory:98005000-98005fff memory:98010000-9801ffff
           *-network
                description: Ethernet interface
                product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0.1
                bus info: pci@0000:3b:00.1
                logical name: enp59s0f1
                version: 12
                serial: 80:fa:5b:74:b7:7c
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical
                configuration: broadcast=yes driver=r8169 latency=0 multicast=yes
                resources: irq:16 ioport:4000(size=256) memory:98004000-98004fff memory:98000000-98003fff
        *-pci:2
             description: PCI bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1d.1
             bus info: pci@0000:00:1d.1
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:124 ioport:3000(size=4096) memory:97000000-97ffffff ioport:6023000000(size=16777216)
           *-network
                description: Wireless interface
                product: Wireless-AC 9260
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:40:00.0
                logical name: wlp64s0
                version: 29
                serial: 28:7f:cf:f8:c9:15
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=iwlwifi driverversion=5.0.0-37-generic firmware=43.95eb4e97.0 ip=192.168.1.27 latency=0 link=yes multicast=yes wireless=IEEE 802.11
                resources: irq:17 memory:97000000-97003fff
        *-isa
             description: ISA bridge
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-multimedia
             description: Audio device
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=snd_hda_intel latency=32
             resources: iomemory:600-5ff iomemory:600-5ff irq:159 memory:6025100000-6025103fff memory:6025000000-60250fffff
        *-serial:0 UNCLAIMED
             description: SMBus
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.4
             bus info: pci@0000:00:1f.4
             version: 00
             width: 64 bits
             clock: 33MHz
             configuration: latency=0
             resources: iomemory:600-5ff memory:6025106000-60251060ff ioport:5040(size=32)
        *-serial:1 UNCLAIMED
             description: Serial bus controller
             product: Intel Corporation
             vendor: Intel Corporation
             physical id: 1f.5
             bus info: pci@0000:00:1f.5
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: bus_master
             configuration: latency=0
             resources: memory:fe010000-fe010fff
     *-scsi:0
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: Samsung SSD 860
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/sda
             version: 3B6Q
             serial: S3Z6NB0M604825B
             size: 931GiB (1TB)
             capabilities: gpt-1.00 partitioned partitioned:gpt
             configuration: ansiversion=5 guid=e090b914-8dfe-459e-93e3-e00d603dd0f8 logicalsectorsize=512 sectorsize=512
           *-volume:0 UNCLAIMED
                description: Windows FAT volume
                vendor: mkfs.fat
                physical id: 1
                bus info: scsi@0:0.0.0,1
                version: FAT32
                serial: 809b-b879
                size: 510MiB
                capacity: 511MiB
                capabilities: fat initialized
                configuration: FATs=2 filesystem=fat name=primary
           *-volume:1
                description: EXT4 volume
                vendor: Linux
                physical id: 2
                bus info: scsi@0:0.0.0,2
                logical name: /dev/sda2
                logical name: /
                version: 1.0
                serial: 3c3ae400-eaf9-4fec-bcd1-312dd83a63e6
                size: 923GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                configuration: created=2020-01-17 14:35:05 filesystem=ext4 lastmountpoint=/ modified=2020-01-28 18:09:49 mount.fstype=ext4 mount.options=rw,relatime mounted=2020-01-28 18:09:49 name=primary state=mounted
           *-volume:2
                description: Linux swap volume
                vendor: Linux
                physical id: 3
                bus info: scsi@0:0.0.0,3
                logical name: /dev/sda3
                version: 1
                serial: bd14c8a4-753d-4279-937d-a9523a0361ef
                size: 8190MiB
                capacity: 8191MiB
                capabilities: nofs swap initialized
                configuration: filesystem=swap name=primary pagesize=4095
     *-scsi:1
          physical id: 2
          logical name: scsi2
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: Samsung SSD 860
             physical id: 0.0.0
             bus info: scsi@2:0.0.0
             logical name: /dev/sdb
             version: 3B6Q
             serial: S4HCNF0MA01654F
             size: 931GiB (1TB)
             capabilities: gpt-1.00 partitioned partitioned:gpt
             configuration: ansiversion=5 guid=26fd567d-c830-4580-a985-464b04124354 logicalsectorsize=512 sectorsize=512
           *-volume
                description: EXT4 volume
                vendor: Linux
                physical id: 1
                bus info: scsi@2:0.0.0,1
                logical name: /dev/sdb1
                logical name: /datadisk
                version: 1.0
                serial: 790ca774-8f7e-41f2-815d-f492467c4f13
                size: 931GiB
                capacity: 931GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                configuration: created=2020-01-17 14:35:10 filesystem=ext4 lastmountpoint=/datadisk modified=2020-01-28 18:09:50 mount.fstype=ext4 mount.options=rw,relatime mounted=2020-01-28 18:09:50 name=primary state=mounted

Voici les quelques tests que j’ai lancé :

$ sysbench --test=memory run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Running memory speed test with the following options:
  block size: 1KiB
  total size: 102400MiB
  operation: write
  scope: global

Initializing worker threads...

Threads started!

Total operations: 29106955 (2909962.98 per second)

28424.76 MiB transferred (2841.76 MiB/sec)


General statistics:
    total time:                          10.0001s
    total number of events:              29106955

Latency (ms):
         min:                                  0.00
         avg:                                  0.00
         max:                                  0.07
         95th percentile:                      0.00
         sum:                               4624.93

Threads fairness:
    events (avg/stddev):           29106955.0000/0.00
    execution time (avg/stddev):   4.6249/0.00

$ sysbench --test=cpu run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Prime numbers limit: 10000

Initializing worker threads...

Threads started!

CPU speed:
    events per second:   662.65

General statistics:
    total time:                          10.0014s
    total number of events:              6629

Latency (ms):
         min:                                  1.22
         avg:                                  1.51
         max:                                  2.74
         95th percentile:                      1.82
         sum:                               9993.95

Threads fairness:
    events (avg/stddev):           6629.0000/0.00
    execution time (avg/stddev):   9.9939/0.00


$ sysbench --test=fileio --file-test-mode=seqwr run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Extra file open flags: 0
128 files, 16MiB each
2GiB total file size
Block size 16KiB
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential write (creation) test
Initializing worker threads...

Threads started!


File operations:
    reads/s:                      0.00
    writes/s:                     7348.22
    fsyncs/s:                     9400.42

Throughput:
    read, MiB/s:                  0.00
    written, MiB/s:               114.82

General statistics:
    total time:                          10.0001s
    total number of events:              167527

Latency (ms):
         min:                                  0.01
         avg:                                  0.06
         max:                                  8.40
         95th percentile:                      0.06
         sum:                               9914.84

Threads fairness:
    events (avg/stddev):           167527.0000/0.00
    execution time (avg/stddev):   9.9148/0.00


A noter que le mieux pour les tests de compilation :

$ sudo apt-get install phoronix-test-suite
...
$ phoronix-test-suite install compilation
...
$ phoronix-test-suite run compilation
...
Timed Apache Compilation 2.4.7:
    pts/build-apache-1.5.1
    Test 1 of 6
    Estimated Trial Run Count:    3
    Estimated Test Run-Time:      3 Minutes
    Estimated Time To Completion: 1 Hour, 20 Minutes
        Running Pre-Test Script @ 20:25:10
        Started Run 1 @ 20:25:45
[NOTICE] A non-numeric value encountered in cpu_usage:53

[NOTICE] A non-numeric value encountered in cpu_usage:53

        Running Interim Test Script @ 20:26:49
        Started Run 2 @ 20:26:52
        Running Interim Test Script @ 20:27:51
        Started Run 3 @ 20:27:54  [Std. Dev: 1.61%]
        Running Post-Test Script @ 20:28:52

    Test Results:
        59.678246021271
        59.074027061462
        57.825505018234

    Average: 58.86 Seconds
...

Voici les graphiques :

TUXEDO Computers GmbH : TUXEDO InfinityBook Pro 14 v5

État

111 x served & 30 x viewed

Après plus de 10 ans sous MacOS, je rebascule sous Linux avec Ubuntu. Les derniers LapTop sous MacOS sont hors de prix, et il est quasiment impossible de les faire évoluer. J’ai donc choisi TUXEDO Computers GmbH : TUXEDO InfinityBook Pro 14 v5 ( Le site : www.tuxedocomputers.com )

Le détail du LapTop :

TUXEDO InfinityBook Pro 14 v5 : 1.489,00 EUR

    • Full-HD (1920 x 1080) IPS-Panel non-glare
    • 32 GB (1x 32GB) 2666Mhz Samsung
    • 32 GB (1x 32GB) 2666Mhz Samsung
    • Intel Core i5-10210U (4x 1.6-4.2GHz Quad-Core, 8 Threads, 6MB Cache, 15W TDP)
    • 1000 GB Samsung 860 EVO (M.2 SATAIII)
    • 1000 GB SSD (Samsung 860 EVO / 2,5″)
    • FRENCH (FR) backlit
    • without UMTS / LTE module
    • Intel Dual AC 9260 & Bluetooth 5 (up to 1730Mbps)
    • TUXEDO_OS 18.04 LTS 64Bit (recommended)
    • without Windows
    • 24 months / 2 years warranty
    • EU power cord | F C6

Donc essayer de voir le prix d’un MacOS avec 2 To de disque SSD, et 64 Go de RAM …

Voir aussi l’article : http://www.cyber-neurones.org/2019/12/macos-macbook-pro-15-pouces-mi-2012-duree-de-vie-bilan/ . Mon précédent MacOS aura fait 7 ans … on va voir combien de temps va me faire ce portable. Mais il y avait la possibilité de changer le disque dur et la Ram assez facilement … ce qui n’est pas le cas sur les nouveaux.