koute / polkavm

A fast and secure RISC-V based virtual machine
Apache License 2.0
244 stars 52 forks source link

Experiment with core pinning #133

Open koute opened 3 months ago

koute commented 3 months ago

Currently we let Linux assign whatever thread to whatever core it wants, but pinning the main thread to a core and then pinning the corresponding worker process to its hyper thread should in theory significantly reduce the latency to communicate with the sandbox. Benchmark the exact difference and, if significant, make it part of the API.