Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

dstat reporting twice the actual disk activity?

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
no_hope
Guru
Guru
User avatar
Posts: 482
Joined: Mon Jun 23, 2003 8:50 pm

dstat reporting twice the actual disk activity?

  • Quote

Post by no_hope » Sun Aug 10, 2008 6:32 pm

I noticed that dstat in the dsk/total column seems to report twice the amount of data transferred to and from disk.

For example, if I am transferring a file over 100Mbps network, scp will report about 10MB/s, dstat's network "send" column will report about 10MB/s, but the disk read column is reporting over 20MB/s. Similar things happens when I move data between drives. pv would report X MB/s and dstat will report 2X for both reads and writes. Copying to /dev/null is also reported to be at twice the rate it should be.

Am I missing something?
Top
Janne Pikkarainen
Veteran
Veteran
User avatar
Posts: 1143
Joined: Tue Jul 29, 2003 6:36 pm
Location: Helsinki, Finland
Contact:
Contact Janne Pikkarainen
Website

Re: dstat reporting twice the actual disk activity?

  • Quote

Post by Janne Pikkarainen » Sun Aug 10, 2008 6:39 pm

no_hope wrote:I noticed that dstat in the dsk/total column seems to report twice the amount of data transferred to and from disk.

For example, if I am transferring a file over 100Mbps network, scp will report about 10MB/s, dstat's network "send" column will report about 10MB/s, but the disk read column is reporting over 20MB/s. Similar things happens when I move data between drives. pv would report X MB/s and dstat will report 2X for both reads and writes. Copying to /dev/null is also reported to be at twice the rate it should be.

Am I missing something?
I guess dstat reports the disk throughput in blocks per second, and as one block = 512 bytes, the reported transfer speed seems to be twice the rate it should be.
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Top
Post Reply

2 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic