Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2005 16:37:26 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@freebsd.org
Subject:   Re: low(er) disk performance with sched_4bsd then with sched_ule
Message-ID:  <20050916163726.729ada59.lehmann@ans-netz.de>
In-Reply-To: <20050915213719.GA26998@xor.obsecurity.org>
References:  <20050914194612.15692485.lehmann@ans-netz.de> <43286E37.40203@samsco.org> <20050914222013.178dc4dc.lehmann@ans-netz.de> <84dead72050914135239514c49@mail.gmail.com> <20050915000053.448f251b.lehmann@ans-netz.de> <84dead7205091500152a7c25d1@mail.gmail.com> <20050915172005.072f4bdf.lehmann@ans-netz.de> <20050915181238.54b16b4b.lehmann@ans-netz.de> <20050915213719.GA26998@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@nudel olivleh1> ktrdump -ct > ule.ktr.out
root@nudel olivleh1> grep ULE /usr/src/sys/i386/conf/NUDEL 
options         SCHED_ULE
root@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@nudel olivleh1>



-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050916163726.729ada59.lehmann>