Compaq Nc6320

Linux

Funziona tutto correttamente alla prima su Ubuntu 9.10 meglio configurare il gestore ondemand per ACPI processore

roberto@rafbook:~$ cat /etc/rc.local
#!/bin/sh -e

cpufreq-set -c 0 -d 1GHz -u 1.83GHz -g ondemand
cpufreq-set -c 1 -d 1GHz -u 1.83GHz -g ondemand
exit 0

Processore

Il supporto ACPI e VMX per la CPU Intel T5600 sono disponibili solo dal BIOS firmware rev. F.0D. Si tratta di un dual core intel che supporta la virtualizzazione hardware con 6 step di frequenza che sono 3 impostatili separatamente per ogni processore: 1GHz, 1.33GHz e 1.83GHz.

roberto@rafbook:~$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz
stepping        : 6
cpu MHz         : 1000.000
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36
 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs   
 bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips        : 3657.77
clflush size    : 64
power management:

processor       : 1
vendor_id       : GenuineIntel
 [...]
power management:

Periferiche

roberto@rafbook:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01)
02:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
02:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
02:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
02:06.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
02:06.4 Communication controller: Texas Instruments PCIxx12 GemCore based SmartCard controller
02:0e.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
08:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

System benchmark

Si utilizzano tre misure: memtest, hdparm e la compilazione del kernel

RAM: memtest

Utilizzando memtest 2.16 fornito con Ubuntu 9.10 si ottiene:

L1 cache 32kb 25757 Mb/s
L2 cache 2 Mb 11952 Mb/s

RAM 1015Mb 2709Mb/s
DDR2 444-12 2x277MHz 

RAM 2039Mb 2481Mb/s
DDR2 555-15 2x332MHz

HD: hdparm

Utilizzando hdparm -Tt /dev/sda su 4 prove consegutive:

Cached read: da 875 a 905 Mb/s
I/O read: da 34.61 a 34.75 Mb/s

Overall

Su Ubuntu 9.10 aggiornata al 18 aprile 2010 compilando con gcc 4.4.1 il vmlinux in versione 2.6.27 configurato con defconfig su partizione EXT4 si ottiene i seguenti risultati:

roberto@rafbook:~$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu9' 
 [...] 
 --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu9)

roberto@rafbook:~$ make distclean; make defconfig; time make -j$N vmlinux
 [...]

Impostando entrambi i processori alla massima frequenza senza gestione energia:

-j1: 9m31.538s
-j2: 5m12.075s

impostando la gestione energia come sopra mostrato nello /etc/rc.local:

-j2: 7m09.145s
-j4: 6m57.915s

come si può notare, attivando la gestione del risparmio energetico, il sistema rende solo il 75% della sua capacità.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.