The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Write Speed into a big file (in Gb's) anilgurwara Filesystems, Disks and Memory 2 01-20-2009 08:17 AM
TCP/IP speed RomZes UNIX for Dummies Questions & Answers 2 04-19-2006 04:57 PM
dmidecode, RAM speed = "Current Speed: Unknown" Santi Filesystems, Disks and Memory 0 02-16-2006 06:16 AM
cpu speed csaunders AIX 5 09-27-2005 10:00 AM
ftp speed ottof HP-UX 3 01-14-2004 05:03 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 4 Weeks Ago
W.C.C W.C.C is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 1
data from blktrace: read speed V.S. write speed

I analysed disk performance with blktrace and get some data:
read:
Code:
  8,3    4     2141     2.882115217  3342  Q   R 195732187 + 32 [cat]
  8,3    4     2142     2.882116411  3342  G   R 195732187 + 32 [cat]
  8,3    4     2144     2.882117647  3342  I   R 195732187 + 32 [cat]
  8,3    4     2145     2.882118965  3342  D   R 195732187 + 32 [cat]
  8,3    4     2149     2.884145702     0  C   R 195732187 + 32 [0]
write:
Code:
  
  8,3    4    43622     5.305507398  3436  Q   W 17805895 + 8 [bash]
  8,3    4    43623     5.305508277  3436  G   W 17805895 + 8 [bash]
  8,3    4    43624     5.305508574  3436  I   W 17805895 + 8 [bash]
  8,3    2      414     5.306695591     0  D   W 17805895 + 16 [swapper]
  8,3    2      418     5.307020642     0  C   W 17805895 + 16 [0]
And, d2c time of one read request is 0.002026737s. On the other hand, d2c time of one write request is 0.000325051s. It show: read time > write time. Is it right? why? I have no idea.
  #2 (permalink)  
Old 3 Weeks Ago
achenle achenle is online now
Registered User
  
 

Join Date: Jun 2009
Posts: 76
The write operations are almost certainly getting cached somewhere, most likely in the kernel page cache or the cache on the disk(s) themselves depending on your OS and hardware setup.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0