Welcome, Guest. Please login or register.

Author Topic: Idea for a 68k patch/commodity: DDBS  (Read 1436 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Idea for a 68k patch/commodity: DDBS
« on: June 13, 2006, 05:24:57 PM »
Sounds feasible. AmigaOS allows you to dynamically change the number of buffers on a volume, so I don't see why you couldn't monitor disk activity and increase/decrease buffers accordingly.

Piru? :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: Idea for a 68k patch/commodity: DDBS
« Reply #1 on: June 13, 2006, 06:25:47 PM »
Could the source for a hard disk benchmarking app help here? Presumably this will contain some code to measure disk activity. Once activity can be measured, it would be simple to devise an algorithm to increase/decrease buffers relative to the disk utilisation. For example:

for each volume...
[code to read amount of disk activity]
b=ax
[code to change the number of buffers to b]


where b is the number of buffers required, a is the measurement of disk activity, and x is the multiplier (e.g. 10), which could be configurable in order to allow the user to adjust how much effect increased disk activity will have on the volume.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10