Henry's Site Forum Index Henry's Site
A quiet contemplative island amid a sea of noise
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bad performance with mfstools iso cd?

 
Post new topic   Reply to topic    Henry's Site Forum Index -> HDTivo talk
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Aug 19, 2004 5:24 pm    Post subject: Bad performance with mfstools iso cd? Reply with quote

I have yet to get my new Hard Drive yet, but I have been preparing.

I booted using the mfstools iso from ptvupgrade, and ran
Code:

hdparm -tT /dev/hdc


I got about 177 MB/sec
I did the same test after booting from my Gentoo live boot cd, and got 372.

This makes me wonder why this is so much slower?
It will take forever to copy at that rate.
What tools are on the cd that we need?

BTW I did have dma enabled for both tests.
Back to top
boiler11



Joined: 19 Aug 2004
Posts: 6
Location: Redondo Beach, CA

PostPosted: Thu Aug 19, 2004 6:04 pm    Post subject: Reply with quote

Are you referring to the first number output by that command? The man page for hdparm says that is a measurement of the processor, cache, and memory performance since it doesn't do any disk I/O. The second number is a measure of hard disk speed. When I run this on my Redhat box (700 Mhz duron) I get the following:

hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.70 seconds =182.86 MB/sec
Timing buffered disk reads: 64 MB in 2.86 seconds = 22.38 MB/sec

Not sure why the different OS would give you such different values for buffer-cache speed.
Back to top
View user's profile Send private message
bdraw



Joined: 19 Aug 2004
Posts: 9

PostPosted: Thu Aug 19, 2004 6:08 pm    Post subject: Reply with quote

Either way if I were making a backup of my original HDTivo hard drive using
dd if=/dev/hda of=/dev/hdc

Wouldn't it be faster with the OS that was getting 372 MB/sec?
_________________
Ben
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Aug 19, 2004 6:22 pm    Post subject: Reply with quote

How do the second numbers compare. That first number probably won't matter because the hard drive will be the bottle neck, not your processor, cache, and memory.
Back to top
hah



Joined: 26 Feb 2002
Posts: 48
Location: Boise

PostPosted: Thu Aug 19, 2004 9:44 pm    Post subject: Reply with quote

Code:

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.44 seconds =290.00 MB/sec
 Timing buffered disk reads:  64 MB in  1.27 seconds = 50.49 MB/sec


do I win?

(that's this webserver, other box is a bit slower and normally running win2k)

I let the dd run all night or from about 12:30am to 7:30am, it was done at 7:30 but I don't know when it finished.

Now with the boot cd in the other box, I get 261.22MB/s for the buffer-cache number and for the other number 3.18MB/s without DMA on, but 38.79MB/s with DMA on.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
bdraw



Joined: 19 Aug 2004
Posts: 9

PostPosted: Sat Aug 21, 2004 8:05 pm    Post subject: Reply with quote

I am not sure how much of a difference it makes, but if I ever get my Hard drive, I will use the Gentoo Live CD just in case.

Both the mfs tools cd and the Gentoo cd were able to mount my USB pen drive, which is what I plan to use to copy my tools over, since I don't have any fat partitions on my drives.
_________________
Ben
Back to top
View user's profile Send private message
hah



Joined: 26 Feb 2002
Posts: 48
Location: Boise

PostPosted: Sun Aug 22, 2004 7:56 am    Post subject: Reply with quote

Note that the mfs_tools CD will mount an NTFS drive as read-only which is fine for tool copying, but won't work for the killhdinitrd because that has to be executable and NTFS doesn't seem to have an x bit

I moved killhdinitrd to a floppy (mount it first of course) and chmod'd it and ran it from there, no problem. That would work with a pen drive too of course as long as it's a FAT-type filesystem.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
boiler11



Joined: 19 Aug 2004
Posts: 6
Location: Redondo Beach, CA

PostPosted: Sun Aug 22, 2004 2:16 pm    Post subject: Reply with quote

Does your Gentoo cd have large disk support in that kernel? If not, you may need to use the mfs_tools cd. By the way, I don't think that the large disk support would be the reason for the 177 vs 372 rates since those numbers are supposed to indicate processor, memory, and cache performance.

Sean.
Back to top
View user's profile Send private message
bdraw



Joined: 19 Aug 2004
Posts: 9

PostPosted: Mon Aug 23, 2004 1:48 pm    Post subject: Reply with quote

How can I confirm that it has large disk support?
I don't have my New Hard drive yet, since I ordered it from some BS company that can't seem to get their act togeather.
_________________
Ben
Back to top
View user's profile Send private message
boiler11



Joined: 19 Aug 2004
Posts: 6
Location: Redondo Beach, CA

PostPosted: Mon Aug 23, 2004 2:09 pm    Post subject: Reply with quote

I'm not quite sure how to confirm it in a specific OS, but I believe all Linux kernels >= 2.4.19 have it built in. You can use "uname -a" to see what kernel version you have.
Back to top
View user's profile Send private message
bdraw



Joined: 19 Aug 2004
Posts: 9

PostPosted: Mon Aug 23, 2004 6:26 pm    Post subject: Reply with quote

It is newer than that, I think it is 2.4.24, but would have to boot it up to double check, thanks for the info, now maybe one day I will actually get my new Hard drive.
_________________
Ben
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Henry's Site Forum Index -> HDTivo talk All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group