a big reason for why mapbench is slow on xv6: mfence!
the kernel spends about 35% of its time in mfence.
commented-out #define to get rid of __sync_synchronize for testing.
maybe having many atomics is going to be expensive.
正在显示
请
注册
或者
登录
后发表评论