Hi,
Rusky wrote:Definitely true. But it can still make a difference- one of MIT's research kernel projects benchmarked binary emulation of a BSD executable vs running it natively, and it was faster on the exokernel while using only the default BSD libOS because of optimizations enabled by the file system being in user space.
Could those same optimisations be done on BSD, and if they were would BSD have been faster than the exo-kernel (was the performance difference due to having an exo-kernel, or were they caused by implementation differences that have nothing to do with exo-kernels)?
Also, performance is only one metric. Another metric is fault resilience. For example, (for file systems) it's possible to improve performance by doing aggressive write caching, but end up with major data loss if there's a power failure or something. Did the exo-kernel sacrifice fault resilience for performance?
What sort of load/s were tested? Maybe they only tested huge sequential reads and found that the exo-kernel's implementation was "better", and didn't test more typically loads (e.g. a mixture of smaller sequential reads, some random reads and various writes) and therefore didn't find out that BSD was better under more realistic situations.
Mostly what I'm saying is that one benchmark with no real information about what was benchmarked or why there was a performance difference it's virtually meaningless.
Of course I'd also worry about bias - who did the benchmark? If BSD developers did the benchmark and said "OMG - thier exo-kernel is faster than our monolithic kernel" then I'd be a lot less sceptical. The number of bad ideas is several orders of magnitude greater than the number of good ideas, yet the number of research papers that say "We spent years researching this and found out that the idea is a bad idea" is far below the number any sane person would expect. Are researchers so lucky that they only ever choose ideas that end up being good ideas; or do they choose something they think might be a good idea and then make the results match their initial expectations?
Cheers,
Brendan