LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2010, 07:52 AM   #1
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
How to monitor I/O but not disk or CPU?


I have googled for linux io monitoring, but most of the search results are about disk I/O monitoring, while i need to monitor I/O in general, e.g. bus master I/O, etc. and in particular, data transfers to/from video card, i.e. how much data is being transferred, when, etc.. Is there a tool for this?
 
Old 08-18-2010, 02:43 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Don't think so, because what you are talking about would use I/O and cpu and affect the measurements :-/. The other factor here is that you are really into low level hardware stuff. Hence benchmarking tests like phoronix test suite which allow comparisons to be made.

It gets very complicated; let me illustrate. Ram timings are something like 6-1-1-1, meaning it takes 6 wait states to find an address, but the immediately following stuff comes/goes with only one wait state. But the relevant stage holds it's breadth (electronically speaking) until the ram can be written to. Now how quick your access is can be determined by how sequential your addresses are. Intel and AMD also have different ways of saying how fast the cpu is going. Stepping considerations exist also - too fast throws in extra wait states. Memtest86 has a speed indication that's about the most reliable ram seed I know of. For video, glxgears running with top is interesting. I have an old box with good video, glxgears gets 99% cpu. New laptop with poor video, and glxgears gets less cpu because the i/o isn't up to speed.
 
Old 08-18-2010, 04:21 PM   #3
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Original Poster
Rep: Reputation: 51
Well, i'll explain my problem in more details. I have a benchmark (Unigine) which has OpenGL and Direct3D modes (under WINE). Direct3D mode is about 2 times slower than OpenGL one. But they both are implemented via single API, OpenGL. My aim is to find, why wined3d is so slower than wineogl, i.e. what operations take that much time. I have tried using CPU profilers, such as sysprof, but i didn't succeed because not only CPU is used here. I guess this may be unoptimised data transfers to video card, because the more polygons in the scene, the greater the lag is. So, i want to compare amounts of data transfers to video card in pure OpenGL mode vs. wined3d mode. Maybe there's another way to find bottlenecks in this situation?
 
Old 08-19-2010, 03:27 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
This is Open Source. I would email the author with your specific concerns.
I gather from my attacks on ATI/AMD linux developers that there's a huge difference in the speed of different opengl calls, and You're comparing that with an emulated direct access, which could be anything, in the real world. OpenGL has a windows equivalent, whereas DRI doesn't really, afaik. Open winecfg and check the graphics tab. Wine forums will tell you how access is delivered, but as it's designed to run on just about any video card, some supercompatible format will be used which eliminates all clever tricks pulled by individual manufacturers.

In short, the last thing direct3d is likely to be doing is direct3d :-/.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to monitor CPU essahar Linux - General 6 06-12-2006 11:12 AM
Need Monitor the CPU, Memory and Disk Usage srikanthrao_d Linux - Software 2 12-28-2005 08:15 AM
snmp cpu monitor hank43 Linux - Networking 0 04-11-2004 03:20 AM
cpu monitor the_y_man Linux - Software 1 03-13-2004 02:20 PM
cpu monitor doralsoral Linux - Software 2 01-07-2004 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration