Pagina 10 di 12
Linux non dispone della stessa varietà di benchmark presenti su piattaforma Windows, ma ha comunque un'ampia scelta di strumenti di diagnostica a system-info integrati che permettono di radiografare la propria macchina in un modo estremamente preciso.
In più, il nostro Asus Eee PC dispone di comode interfacce grafiche preinstallate che possono servire a questo scopo: ci riferiamo innanzitutto alla suite Diagnostic Tool, facilmente accessibile dalla linguetta Settings di Easy Mode, e al sistema di Hardware Detection del Control Center di KDE (Full Mode). Entrambi consentono di verificare l'hardware presente sul notebook e di accertare eventuali malfunzionamenti, ma le informazioni non sono dettagliate come vorremmo.
Per questo ci siamo affidati ad una serie di comandi e programmi da command line ben noti a tutti gli utenti Linux, che ci hanno restituito un'immagine estremamente approfondita dei componenti hardware montati sul nostro notebook. Partiamo dall'individuazione della versione del kernel Linux installata:
$ uname -a Linux asus-731711046 2.6.21.4-eeepc #6 Mon May 5 11:38:34 EDT 2008 i686 GNU/Linux |
Proseguiamo poi con l'elencazione di tutti i dispositivi installati o collegati al netbook:
$ sudo lspci -vv output lspci |
$ sudo lsusb -v output lsusb |
Per raccogliere qualche informazione sui drive SSD montati sul nostro EeePC 1000 ci siamo serviti di hdparm. Come di consueto sia il modulo allo stato solido on-board che quello su scheda PCIE minicard sono marchiati Asus-Phison. Il primo ha una capienza di 8GB, mentre il secondo può immagazzinare 32GB di dati. Utilizzando l'argomento-t, hdparm ci fornisce anche una sintetica indicazione delle performance in lettura dei due dischi: hanno una velocità analoga, con un lieve vantaggio per il drive da 8GB (31,41MB/s contro 29,29MB/s).
$ hdparm -vt /dev/sda1 /dev/sda1: ATA device, with non-removable media Model Number: ASUS-PHISON SSD Serial Number: SOQZ580061 Firmware Revision: TST2.04P Standards: Supported: 5 4 Likely used: 6 Configuration: Logical max current cylinders 15636 15636 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 15761088 LBA user addressable sectors: 15761088 device size with M = 1024*1024: 7695 MBytes device size with M = 1000*1000: 8069 MBytes (8 GB) Capabilities: LBA, IORDY(cannot be disabled) Standby timer values: spec'd by Vendor, no device specific minimum R/W multiple sector transfer: Max = 1 Current = 0 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns Commands/features: Enabled Supported: * Power Management feature set * WRITE_BUFFER command * READ_BUFFER command * NOP cmd * CFA feature set * Mandatory FLUSH_CACHE Integrity word not set (found 0x0000, expected 0x12a5) Timing buffered disk reads: 96 MB in 3.06 seconds = 31.41 MB/sec |
$ hdparm -vt /dev/sdb1 /dev/sdb1: ATA device, with non-removable media Model Number: ASUS-PHISON SSD Serial Number: SOQZ580070 Firmware Revision: TST2.04P Standards: Supported: 5 4 Likely used: 6 Configuration: Logical max current cylinders 16383 16383 heads 16 16 sectors/track 63 63 -- CHS current addressable sectors: 63045360 LBA user addressable sectors: 63045360 device size with M = 1024*1024: 30783 MBytes device size with M = 1000*1000: 32279 MBytes (32 GB) Capabilities: LBA, IORDY(cannot be disabled) Standby timer values: spec'd by Vendor, no device specific minimum R/W multiple sector transfer: Max = 1 Current = 0 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns Commands/features: Enabled Supported: * Power Management feature set * WRITE_BUFFER command * READ_BUFFER command * NOP cmd * CFA feature set * Mandatory FLUSH_CACHE Integrity word not set (found 0x0000, expected 0xaca5) Timing buffered disk reads: 88 MB in 3.00 seconds = 29.29 MB/sec |
Memoria (1GB) e reti non riservano particolari sorprese. Il Wi-Fi funziona correttamente e, grazie ai diversi tool grafici a disposizione, cercare una rete e autenticarsi è davvero un gioco da ragazzi.
$ meminfo MemTotal: 1028172 kB MemFree: 538276 kB Buffers: 2476 kB Cached: 291252 kB SwapCached: 0 kB Active: 260336 kB Inactive: 154220 kB HighTotal: 122496 kB HighFree: 256 kB LowTotal: 905676 kB LowFree: 538020 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 16 kB Writeback: 0 kB AnonPages: 120848 kB Mapped: 74032 kB Slab: 21756 kB SReclaimable: 12720 kB SUnreclaim: 9036 kB PageTables: 1968 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 514084 kB Committed_AS: 382888 kB VmallocTotal: 114680 kB VmallocUsed: 5832 kB VmallocChunk: 108772 kB |
$ ifconfig -a eth0 Link encap:Ethernet HWaddr 00:22:15:03:A8:9D UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Memory:fe8c0000-fe900000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:945 errors:0 dropped:0 overruns:0 frame:0 TX packets:945 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:105601 (103.1 KiB) TX bytes:105601 (103.1 KiB) ra0 Link encap:Ethernet HWaddr 00:15:AF:**:**:** inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:66765 errors:0 dropped:0 overruns:0 frame:0 TX packets:4121 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11474630 (10.9 MiB) TX bytes:532499 (520.0 KiB) Interrupt:11 |
$ iwconfig ra0 RT2860 Wireless ESSID:"c*********" Nickname:"RT*******" Mode:Managed Frequency=2.462 GHz Access Point: 00:11:50:**:**:** Bit Rate=54 Mb/s RTS thr:off Fragment thr:off Encryption key:***** Link Quality=74/100 Signal level:-70 dBm Noise level:-97 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 |
Interrogando l'ACPI sullo stato ed iltipo di batteria, riceviamo conferma che il nostro Asus Eee PC 1000 dispone di una batteria a 6 celle agli ioni di Litio da 6600mAh.
$ cat /proc/acpi/battery/*/state present: yes capacity state: ok charging state: charged present rate: 0 mA remaining capacity: 6554 mAh present voltage: 8294 mV |
$ cat /proc/acpi/battery/BAT0/info present: yes design capacity: 6580 mAh last full capacity: 6554 mAh battery technology: rechargeable design voltage: 8400 mV design capacity warning: 262 mAh design capacity low: 262 mAh capacity granularity 1: 65 mAh capacity granularity 2: 65 mAh model number: 1000 serial number: battery type: LION OEM info: ASUS |
Infine, cpuid ci dà uno spaccato completo del processore Intel Atom N270 (core Diamondville) di questo mininotebook Asus.
$ cpuid eax in eax ebx ecx edx 00000000 0000000a 756e6547 6c65746e 49656e69 00000001 000106c2 00020800 0040c39d bfe9fbff 00000002 4fba5901 0e3080c0 00000000 00000000 00000003 00000000 00000000 00000000 00000000 00000004 00004121 0140003f 0000003f 00000001 00000005 00000040 00000040 00000003 00020220 00000006 00000001 00000002 00000001 00000000 00000007 00000000 00000000 00000000 00000000 00000008 00000000 00000000 00000000 00000000 00000009 00000000 00000000 00000000 00000000 0000000a 07280203 00000000 00000000 00002501 80000000 80000008 00000000 00000000 00000000 80000001 00000000 00000000 00000001 00100000 80000002 20202020 20202020 746e4920 52286c65 80000003 74412029 54286d6f 4320294d 4e205550 80000004 20303732 20402020 30362e31 007a4847 80000005 00000000 00000000 00000000 00000000 80000006 00000000 00000000 02008040 00000000 80000007 00000000 00000000 00000000 00000000 80000008 00002020 00000000 00000000 00000000 Vendor ID: "GenuineIntel"; CPUID level 10 Intel-specific functions: Version 000106c2: Type 0 - Original OEM Family 6 - Pentium Pro Model 12 - Stepping 2 Reserved 4 Extended brand string: " Intel(R) Atom(TM) CPU N270 @ 1.60GHz" CLFLUSH instruction cache line size: 8 Hyper threading siblings: 2 Feature flags bfe9fbff: FPU Floating Point Unit VME Virtual 8086 Mode Enhancements DE Debugging Extensions PSE Page Size Extensions TSC Time Stamp Counter MSR Model Specific Registers PAE Physical Address Extension MCE Machine Check Exception CX8 COMPXCHG8B Instruction APIC On-chip Advanced Programmable Interrupt Controller present and enabled SEP Fast System Call MTRR Memory Type Range Registers PGE PTE Global Flag MCA Machine Check Architecture CMOV Conditional Move and Compare Instructions FGPAT Page Attribute Table CLFSH CFLUSH instruction DS Debug store ACPI Thermal Monitor and Clock Ctrl MMX MMX instruction set FXSR Fast FP/MMX Streaming SIMD Extensions save/restore SSE Streaming SIMD Extensions instruction set SSE2 SSE2 extensions SS Self Snoop HT Hyper Threading TM Thermal monitor 31 reserved TLB and cache info: 59: unknown TLB/cache descriptor ba: unknown TLB/cache descriptor 4f: unknown TLB/cache descriptor c0: unknown TLB/cache descriptor 80: unknown TLB/cache descriptor 30: unknown TLB/cache descriptor 0e: unknown TLB/cache descriptor Processor serial: 0001-06C2-0000-0000-0000-0000 |