avsm changed the topic of #mirage to: Good news everyone! Mirage 3.0 released!
balduin has quit [Ping timeout: 240 seconds]
brson has quit [Quit: leaving]
copy` has quit [Quit: Connection closed for inactivity]
balduin has joined #mirage
wont has joined #mirage
<wont>
Hello
<wont>
I was struggling to get jane st core working in mirage. I was hoping someone would have already done this or would be able to tell me why it's not possible.
<wont>
When including core in the packages list mirage build errors out with "ocamlfind: Error from package `threads': Missing -thread or -vmthread switch
<wont>
Command exited with code 2.
brson has joined #mirage
insitu has joined #mirage
insitu has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
insitu has joined #mirage
insitu has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brson has quit [Ping timeout: 255 seconds]
insitu has joined #mirage
insitu has quit [Ping timeout: 260 seconds]
insitu has joined #mirage
mort___ has joined #mirage
insitu has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mort___1 has joined #mirage
mort___ has quit [Ping timeout: 240 seconds]
insitu has joined #mirage
<hannes>
wont: nobody ported `core` to MirageOS, threads are not available on MirageOS... there is no recent activity on that front, although an open issue https://github.com/mirage/mirage/issues/282
mort___1 has quit [Quit: Leaving.]
insitu has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mort___ has joined #mirage
AltGr has joined #mirage
<dstolfa>
hannes: Well, multithreading in kernels is always kind of difficult :P
<dstolfa>
Also depends on how you want to assign and figure out what your unikernel would be running, SMP/NUMA,...
<dstolfa>
How you would schedule them, it's a whole task to be perfectly honest, and not an easy one at that
<dstolfa>
them being kernel threads, that is
<hannes>
dstolfa: I like simple things... cooperative multitasking on a single core. I believe we can solve 99% of all problems with that (and scale using marshalling (netmap/some shared memory/whatever is not there, or simple TCP for now) and multiple virtual machines)
<dstolfa>
hannes: I fully agree, multithreading is something that should be evolved over time if a need for it develops in the case of MirageOS
<dstolfa>
hannes: It adds very high complexity
<dstolfa>
I've recently had the privilege of dealing with a highly multithreaded environment, which also has to be handled with great care in the case of NUMA, I still have race conditions, but it's getting stable :)
<hannes>
sorry to hear that, I debugged multi-threaded code for way too long in my lifetime
<dstolfa>
hannes: Heh :)
<dstolfa>
hannes: Well, in this case it was 4 queues, arbitrary interrupt threads, task queues, communicator thread(both guest and host)
<dstolfa>
and kernel events towards userspace on the host side
<hannes>
my brain is simply not smart enough to cope with that...
<hannes>
;)
<dstolfa>
hannes: I started doubting this statement: if (cond && !cond) is the same as if (cond) if (!cond)
<dstolfa>
well, cond1, cond2
<dstolfa>
That's the effect concurrency has on people when there's too much of it :D
<kensan>
hannes: We have the same line of thinking and we have not had a real usecase for SMP guests on Muen.
<dstolfa>
kensan: Well, if you implement SMP, users will inevitably want NUMA in some cases as well
<dstolfa>
Then some will come along with SMT, and you'll end up with a bunch of code :P
<lobo>
hannes: i've seen that graylog supports rfc5424. it is free software, but has jre, mongodb and elasticsearch as dependencies
<lobo>
hannes: haven't tried it myself yet. but some fellow networkers claim that it is easier to install than elastics/logstash/kibana