When to use full system FS vs syscall emulation SE

2019-02-26 20:37发布

Since syscall emulation is much easier to setup, I'm wondering what are the advantages of using the full system emulation when running an userland program.

Or in other words, what interesting aspects are modeled in the full system but not syscall emulation mode, and when are they significant?

It is mentioned in the docs at: http://gem5.org/Splash_benchmarks that full system is

Realistic: you're getting the actual Linux thread scheduler to schedule your threads

Is this the only advantage, or are there any other advantage for users that are optimizing their applications or investigating micro-architecture?

I also suspect that the MMU simulation is another important feature that is only modeled properly in full system mode, and could affect program performance.

标签: gem5
1条回答
可以哭但决不认输i
2楼-- · 2019-02-26 21:16

This is the superficial understanding that I've gathered so far.

Advantages of SE:

Disadvantages of SE:

So my recommendation is: just use FS mode. It is just simpler to setup, more representative, and the performance hit is acceptable for most.

查看更多
登录 后发表回答