IRC channel logs
2025-03-23.log
back to list of logs
<azert>ZhaoM: do you really need nanosecond precision in the timer interrupt? <ZhaoM>that's needed for curl testsuite 1541 to pass <ZhaoM>More precisely say HPET can give us 10ns precision <ZhaoM>And my next goal is supporting higher-precision time stamp for ext2fs, then a lot of vim testsuites can pass :) <ZhaoM>what do you think of using #ifdef APIC to do the work <ZhaoM>though it seems a bit unusual <azert>I think that the branch you are introducing will not cause any overhead <azert>Because of the branch predictor doing a good job <azert>I would be more concerned that Linux uses the tsc instead of hpet for performance reasons. In theory, you could steal the tsc netbsd implementation and use the tsc if it is of the invariant type <ZhaoM>haven't read the documentation about tsc. I will give it a try after integrating HPET <Pellescours>so all lib files we want to install are in obj/destdir/usr/lib/ folder and not sparsed in the source <Pellescours>Ah but the rumpuser and pci won’t appear because we only do a make dependall <youpi>sneek: later tell ZhaoM it's not really useful to look at tsc. Nowadays most machines to have an hpet, so we will be fine with just that <youpi>no, I'm not always right :) reading hpet is expensive indeed, but in this case we have already paid the cost of an interrupt or a system call, so that won't be much more, so we will probably be fine with that