[prev in list] [next in list] [prev in thread] [next in thread] 

List:       djbdns
Subject:    Re: mmap() overhead?
From:       Scott Schwartz <schwartz () bio ! cse ! psu ! edu>
Date:       2004-04-19 21:00:20
Message-ID: 20040419210020.GA14990 () bio ! cse ! psu ! edu
[Download RAW message or body]

> >  * open/mmap/close every time: ~16700 qps
> >  * open/mmap/close max once second: ~32600 qps

If you comment out the fstat/mmap stuff in cdb_init, then cdb_read will
use seek and read (the original method, before Dan added mmap support.)
How does that compare?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic