< 10 hour makehistory.

Richard Todd rmtodd at servalan.servalan.com
Thu Aug 17 23:32:52 UTC 2000


In servalan.mailinglist.inn-workers Miquel van Smoorenburg writes:
>All the lseek(50, 0, SEEK_CUR) calls could and should be dropped-
>they don't do anything. The fcntl(36, F_SETLKW, ...) stuff can be
>dropped as well - when we are rebuilding, no innd should be writing
>to the overview files, or can you run innd during an overview rebuild ?

Yes, you can.  I've done it on numerous occasions.

>strace -r shows that a considerable amount of time is spent
>in the lseek() and fcntl() calls.

Very odd, since lseek() and fcntl() shouldn't require any disk activity, and so
should be extremely fast.  I may have to try looking with ktrace on FreeBSD
to see what the stats are like there...



More information about the inn-workers mailing list