May 26, 2011

Benchmark: Samsung S2 Portable 500GB USB 2.0 External HD

Benchmark results for Samsung S2 Portable 500GB USB 2.0 External HD Performance:
Write (K/sec): 34974 ( 52% of the HD Performance of my notebook )
Re-write (K/sec): 17612 ( 59% of the HD Performance of my notebook )
Read (K/sec): 46580 ( 64% of the HD Performance of my notebook )
Seeks/sec: 123.8 ( 164% of the HD Performance of my notebook )

Conclusion:
The theoretical speed limit for USB 2.0 would be 60 MByte/sec. The read speed is about 78% of this value wich is not bad. Even not feeling slow, this HD could be faster.

About tests:
Command line run on both notebooks:
# bonnie++ -n 0 -u 0 -r 8192 -f -b -d /media/Peter-ext3/bonnie/
Bonnie 1.96 @ Fedora 15


# hdparm -I /dev/sdb

/dev/sdb:

ATA device, with non-removable media
Model Number: SAMSUNG HM502JX
Serial Number: C2271F141A0TE5
Firmware Revision: 2AC101C4
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6
Standards:
Used: unknown (minor revision code 0x0028)
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 976773168
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
device size with M = 1024*1024: 476940 MBytes
device size with M = 1000*1000: 500107 MBytes (500 GB)
cache/buffer size = 8192 KBytes
Form Factor: 2.5 inch
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = ?
Advanced power management level: disabled
Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
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:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* Idle-Unload when NCQ is active
* NCQ priority information
DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
128min for SECURITY ERASE UNIT. 128min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50000f001afbe500
NAA : 5
IEEE OUI : 0000f0
Unique ID : 01afbe500
Checksum: correct

See more benchmarks: http://blog.parahard.com/search?q=benchmark

May 25, 2011

WiFi/Wireless on Toshiba R830 on Fedora 15

I was not able to use WiFi on Toshiba R830 running Fedora 15. There were missing firmware files for iwl6000g2b adapter. It is very easy to fix it:

# yum install iwl6000g2b-firmware

Then reboot and your Wifi will be running after next boot. :-)

Benchmark: Core 2 Duo T7200 vs. Core i7 2620M

Test systems:
System 1: 2007 noteoobk: Toshiba U205-S5067: Core 2 Duo T7200, 4GB RAM, 320 GB HD
System 2: 2011 notebook: Toshiba R830-10P: Core i7 2620M, 8GB RAM, 256 GB SSD

This benchmark result is not only affected by the processor. Almost all system components affects the result. The processor is only the main component.

Results:
Evaluating overall performance, for compiling Linux Kernel and generate its RPM packages for Fedora 15: Core i7 system is 2.85 times faster than Core 2 Duo system.

Details
I've run the steps described on: http://kdpeter.blogspot.com/2011/05/steps-to-test-kernel-build-on-fedora-15.html, for the kernel package kernel-2.6.38.6-27.fc15.src.rpm.

The only difference to the procedure described above is that I added the command "time" in the building step, to be able to compare necessary time to do same task.
$ time rpmbuild -bb --with baseonly --without debuginfo --target=`uname -m` kernel.spec

Individual results
System 1: Core 2 Duo
real 67m48.453s
user 88m6.698s
sys 17m35.033s

System 2: Core i7
real 23m46.994s
user 68m25.556s
sys 10m29.816s

See more benchmarks: http://blog.parahard.com/search?q=benchmark

May 24, 2011

Benchmark: SSD vs. SATA

System 1: 2007 noteoobk: Toshiba U205-S5067: Core 2 Duo T7200, 4GB RAM, 320 GB HD

System 2: 2011 notebook: Toshiba R830-10P: core i7 2620M, 8GB RAM, 256 GB SSD

How many times faster is SSD??
Write: 2.50 times faster
Re-write: 2.83 times faster
Read: 3.89 times faster
Seeks/sec: 23.99 times faster


Benchmark results:
System 1: 320GB SATA HD
Write (K/sec): 66608
Re-write (K/sec): 29609
Read (K/sec): 71894
Seeks/sec: 75.4

System 2: 256GB SATA SSD
Write (K/sec): 166827
Re-write (K/sec): 84040
Read (K/sec): 280068
Seeks/sec: 1809


About tests:
Command line run on both notebooks:
# bonnie++ -n 0 -u 0 -r 8192 -f -b -d /bonnie/
Bonnie 1.96 @ Fedora 15

System 1 HD info:
hdparm -i /dev/sda

/dev/sda:

Model=SAMSUNG HM320JI, FwRev=2SS00_01, SerialNo=S16LJF0S221285
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=625142448
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: ATA/ATAPI-7 T13 1532D revision 0: ATA/ATAPI-1,2,3,4,5,6,7

* signifies the current active mode


System 2 SSD info:
# hdparm -i /dev/sda

/dev/sda:

Model=TOSHIBA THNSNC256GBSJ, FwRev=CJTA0202, SerialNo=21RS106DTCNZ
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=500118192
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-3,4,5,6,7

* signifies the current active mode
See more benchmarks: http://blog.parahard.com/search?q=benchmark