Open pavel-odintsov opened 6 years ago
Snabb only supports x86_64 at the moment. I believe the issue you ran into is resolved for GC64 which we will start using with the move to RaptorJIT, but RaptorJIT for now only support x86_64 as well. Note that we also use x86_64 assembly directly in Snabb. So as far as I know, making this fly would require:
Hello!
Thank you for response! Yes, direct use of assembler can make things complicated :(
Can I ask about benefits of RaptorJIT over LuaJIT?
Thank you!
@pavel-odintsov the RaptorJIT landing page says it better than I could, but for me personally the key benefits are:
The general motto, I believe, is narrowing the scope of RaptorJIT relative to LuaJIT on a specific usecase so we can add features we need without getting into the way of LuaJIT’s other downstreams.
That's pretty interesting! Thank you for detailed answer! I will consider RaptorJIT as option.
Hello!
I use Ubuntu 18.04 with 2 x Cavium Thunder X arm64 CPUs with 96 cores. I tried to compile SnabbSwitch and received number of errors about it:
libc versions on Ubuntu 18.04 machine:
Any suggestions?
Also, I familiar with some very nasty issues with lightuserdata on ARM64: https://github.com/LuaJIT/LuaJIT/issues/49
Briefly: luajit assumes that 47 bits is enough to store pointer but that's not true for ARM64 machines as they use more address space. Probably, it can affect you too and I do not know about any solutions for this issue at this moment.