LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-25-2005, 10:00 PM   #1
chris318
Member
 
Registered: Feb 2005
Distribution: Slack
Posts: 122

Rep: Reputation: 19
Benchmarking linux?


Okay I know are very few benchmarking programs out there for linux. I currently use udev. So the dev files really are just files in memory. I've been thinking about that. Can't I just cat a device say hda1 and then count of the bytes with wc. Like "cat hda1 | wc -c" and through a time loop around it to get the overall bytes going in and out? I could do the same with agpgart and get the buses speed in KB/s or whatever? What is wrong with my logic? Are the dev devices really pipes? It seems like this is doable. Somehow.
 
Old 02-25-2005, 10:15 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
You could do it, but if I wanted to test the throughput speed of a hard drive, I'd just do 'hdparm -tT /dev/hda'
 
Old 02-25-2005, 10:25 PM   #3
chris318
Member
 
Registered: Feb 2005
Distribution: Slack
Posts: 122

Original Poster
Rep: Reputation: 19
Strange I can echo to tty. Say "echo hello > /dev/tty1" while in tty2 and hello appears on terminal one. But when I try to cat tty1 I get nothing. This has something to do the idea of a character or block device I think. Slightly confused. What is a block device. What is a character device? Are there any other types of devices? And how would I go about do this kind of stuff?
 
Old 02-25-2005, 10:59 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
Hehe, see my post in reply to your other thread on that. For anyone else following this, the other thread is http://www.linuxquestions.org/questi...hreadid=294963
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux system benchmarking? shortname Linux - General 4 06-24-2005 05:59 PM
Benchmarking tool for cpu's under linux????? damned Linux - Software 2 09-01-2003 08:52 AM
Seti/Folding/Burn-in/benchmarking linux cd Finalnight LinuxQuestions.org Member Success Stories 0 07-25-2003 10:25 PM
Benchmarking Linux vs Windows bkeating Linux - General 4 06-20-2002 07:10 AM
benchmarking linux new_linux_goof Linux - General 0 05-14-2002 09:59 PM

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

All times are GMT -5. The time now is 07:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration