Re: low(er) disk performance with sched_4bsd then with sched_ule

From: Oliver Lehmann <lehmann_at_ans-netz.de>
Date: Fri, 16 Sep 2005 16:37:26 +0200
Hi Kris,

Kris Kennaway wrote:

> What about using schedgraph as I suggested previously?

After I installed py24-tkinter and all the dependencies, I recompiled the kernel and so on, but it seems not to work:

root_at_nudel olivleh1> dd if=/dev/zero of=/mnt/files/test.dd bs=64k count=32000
32000+0 records in
32000+0 records out
2097152000 bytes transferred in 379.623777 secs (5524290 bytes/sec)
root_at_nudel olivleh1> ktrdump -ct > ule.ktr.out
root_at_nudel olivleh1> grep ULE /usr/src/sys/i386/conf/NUDEL 
options         SCHED_ULE
root_at_nudel olivleh1> python /mnt/files/FreeBSD/6.0/src/tools/sched/schedgraph.py ule.ktr.out
Traceback (most recent call last):
  File "/mnt/files/FreeBSD/6.0/src/tools/sched/schedgraph.py", line 1224, in ?
    graph = SchedGraph(root)
  File "/mnt/files/FreeBSD/6.0/src/tools/sched/schedgraph.py", line 1168, in __init__
    self.draw(sys.argv[1])
  File "/mnt/files/FreeBSD/6.0/src/tools/sched/schedgraph.py", line 1201, in draw
    ktrfile = KTRFile(file)
  File "/mnt/files/FreeBSD/6.0/src/tools/sched/schedgraph.py", line 822, in __init__
    ticksps = self.ticksps()
  File "/mnt/files/FreeBSD/6.0/src/tools/sched/schedgraph.py", line 911, in ticksps
    return (self.timespan() / self.ticks[0]) * int(self.stathz)
  File "/mnt/files/FreeBSD/6.0/src/tools/sched/schedgraph.py", line 908, in timespan
    return (self.timestamp_first - self.timestamp_last);
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Exit 1
root_at_nudel olivleh1>



-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/
Received on Fri Sep 16 2005 - 12:37:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:43 UTC