Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#168574 - 01/07/2003 16:36 IDE Transfer rate
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Does anyone (and this question is addressed to the math experts out there) have a general feeling for the throughput you would see on a disk to disk copy on an empeg? I know the limiting factor is the IDE bus speed, but has anyone ever calculated it out?
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#168575 - 01/07/2003 19:21 Re: IDE Transfer rate [Re: pgrzelak]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
I don't know whether it could be easily calculated or whether real life measurements are the only way to go. ISTR that the IDE interface on the empeg is CPU bound, so I don't know whether the IDE specified speeds can be obtained.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#168576 - 01/07/2003 21:07 Re: IDE Transfer rate [Re: genixia]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
My empeg's in the car right now... does it have the "time" command? I'd be interested to see the output of some speed tests. These are the kind of tests I do when I get a new HD and so far, the limiting factor in my P2@400 has always been the drives (each new one outperforming the previous).

Disclaimer: I'm not currently logged in to my empeg so I can't verify the file names I'm talking about
Write test:
# time dd if=/dev/zero of=/drive0/testfile bs=1048576 count=1024

Read test:
# time dd if=/drive0/testfile of=/dev/null bs=1048576 count=1024

If the drive is fairly full, it will slow these numbers down (due to the testfile being closer to the end of the drive [always slower] and possible fragmentation). An alternate read test that would read from the drive sequentially is:
Alt read test:
# time dd if=/dev/hda of=/dev/null bs=1048576 count=1024


Then try going between the drives:
Cross-drive test:
# time dd if=/drive0/testfile of=/drive1/testfile bs=1048576 count=1024


All the tests above are using 1GB (1073741824 bytes) of data so you can get MB/s by taking 1024/time (e.g. 20 seconds to complete = 51.2MBps). Stopping the player application and quitting other hacks that may be running will help get better performance.

On systems without DMA, the CPU is usually the limiting factor and this can be seen in the output of the time command listing 100% CPU.

P.S. How do I make my CPU speed not be linked like an email address?


Edited by TheAmigo (01/07/2003 21:09)
_________________________
--The Amigo

Top
#168577 - 01/07/2003 21:12 Re: IDE Transfer rate [Re: pgrzelak]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
Do you mean between two drives in a dual-drive empeg, or if you were to take a drive out of the empeg and mount it in a desktop Linux PC?
_________________________
--The Amigo

Top
#168578 - 01/07/2003 21:37 Re: IDE Transfer rate [Re: TheAmigo]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
I doubt that time is installed on the empeg. It shouldn't be too hard to put there though.

For some of these tests, I'm not sure why you don't just invoke hdparm -Tt It won't do inter-drive read-writes though, you'll still need another method as described.

P.S. How do I make my CPU speed not be linked like an email address?

Good question...
P2@400 ?

Yep. Like this;
P2[i][/i]@400
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#168579 - 01/07/2003 23:31 Re: IDE Transfer rate [Re: genixia]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
...which is also the handy method that allows you to curse... shit damn poo!
_________________________
|| loren ||

Top
#168580 - 02/07/2003 01:36 Re: IDE Transfer rate [Re: pgrzelak]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Does anyone (and this question is addressed to the math experts out there) have a general feeling for the throughput you would see on a disk to disk copy on an empeg?
I haven't timed disk-to-disk, but memory-to-disk gets about 4Mbytes/sec, and it's CPU-bound, so I wouldn't expect more than 2Mbytes/sec disk-to-disk.

This is much less than the head rate of modern laptop disks, so you should be able to do much better if you put them into a Linux PC with an adaptor.

Peter

Top
#168581 - 02/07/2003 04:44 Re: IDE Transfer rate [Re: peter]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Thanks. I was just looking for an estimate, and this gives me a good basis.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top