Re: kvm_read() vs ioctl performance
- From: Julian Elischer <julian@xxxxxxxxxxxx>
- Date: Fri, 21 Mar 2008 11:42:30 -0700
Barney Cordoba wrote:
I have an app which reads stats from the kernel
periodically, and there can be a lot of iterations,
sometimes 20,000 or more. I'm thinking of converting
from an ioctl method to kvm_read(). KVM is certainly
simpler, but its not clear what overhead is involved,
since kvm_read() likely has to call the kernel also.
Does anyone have a handle on the difference in
overhead, assuming that the ioctl call is to a module
which does nothing more than copy the data and return?
tried a shared memory page?
Thanks,
barney
____________________________________________________________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: kvm_read() vs ioctl performance
- From: Barney Cordoba
- Re: kvm_read() vs ioctl performance
- References:
- kvm_read() vs ioctl performance
- From: Barney Cordoba
- kvm_read() vs ioctl performance
- Prev by Date: kvm_read() vs ioctl performance
- Next by Date: Re: CFR: New NFS Lock Manager
- Previous by thread: kvm_read() vs ioctl performance
- Next by thread: Re: kvm_read() vs ioctl performance
- Index(es):