On Sun, 14 Apr 2002 at 18:55:39, Phoebus Dokos wrote:
(ref: <[EMAIL PROTECTED]>)
>At 06:27 �� 14/4/2002, Tony Firshman wrote:
>
>>Of course, there is fixed QL processing time here as well.
>>This means that the actual physical read from RomDisq is, in percentage
>>terms, even better.
>>In my measurements, I found RomDisq read at 2mbyte per second.
>>What is the physical read speed of CF and HD I wonder?
>
>On a QL or on a PC?
>The CF readers can go up to 33 Mbps guaranteed and the HDDs well depends on the
>machine :-) Some
>up to 133Mbps (like the 80gig Maxtor that I have on the Aurora :-) Guess how long it
>took to
>format all the partitions :-)
>
>>To test, I copied a 1mb file a 100 times to ramdisk. To ensure slave
>>blocks had minimal effect, I loaded first to ram, and then did
>>ALCHP(free_memory - 2000) - or some similar value to 2000 until the
>>following would run:
>>
>>FOR j= 1 to 100:COPY_O rom1_file to ram1_file
>> >I will provide the list with more "scientific" results once I perform
>> >them (soon I hope :-)
>>Above method might be a better way - it eliminates the fixed processing
>>time.
>
>Okay good idea,
>I'll do it and get back to you :-)
of course the complete program could be something like:
2 file$='test':dv$='rom1_':loop=1000
5 COPY dv$&file$ TO 'ram1_'&file$
6 OPEN#3,dv$&file$
7 copy_length = FLEN(#3)*loop
9 CLOSE #3
10 a=ALCHP(free_mem-2000) : REMark or whatever minimum figure to leave
working machine
20 s = DATE
30 FOR J= 1 TO loop:COPY_O 'rom1_test TO ram1_test
40 PRINT 'Copy rate is '©_length/(DATE-s)&' bytes per second'
50 RECHP a: REMark if you want your machine back (8-)#
This will probably not work as I have simply typed it on-line, but this
is the method I used in my live test.
I recall there is a way to use a file name explicitly in a TT toolkit
command and avoid OPEN/CLOSE, but I can't find it in his 'manual'.
--
QBBS (QL fido BBS 2:252/67) +44(0)1442-828255
tony@<surname>,demon.co.uk http://www.firshman.demon.co.uk
Voice: +44(0)1442-828254 Fax: +44(0)1442-828255
TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG