low(er) disk performance with sched_4bsd then with sched_ule

Oliver Lehmann lehmann at ans-netz.de
Fri Sep 16 07:37:33 PDT 2005


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/


More information about the freebsd-current mailing list