On 02/03/16 07:54, Vladislav Sukhin wrote:
Hey, Guys

I'm quite new to rumprun and interested in running Ruby applications using
rumpkernel.
I was able to run proposed rumprun-package for Ruby, but have 2 questions:
1. Both in Qemu and KVM soon after start CPU usage for qemu-system process
becomes about of 100%. I just run existing sample.
Any ideas how to solve this issue and what should I look for?

Consuming 100% CPU probably shouldn't happen, though of course one should also check by running the same program on the host. Busylooping usually occurs because we have stubbed out some blocking call (e.g. sigsuspend()).

I can't give a general recipe for tracking the problem down let alone fixing it, apart from "poke around". Some sort of thread accounting system (think ps/top) is planned for the future. The reason one doesn't exist already is that it's not fully straightforward to implement using the existing mechanisms.

By "existing sample", do you mean the Example in the Ruby package README?

2. Sinatra framework is a great thing, but most Ruby applications today are
developed for RoR. As I understand, there is no native gem support for Ruby
in this package.
Do you have any plans about supporting them in order to run RoR framework
(which includes them) or might be any suggestions how deal with native gems
in this case?

I cc'd the Ruby package maintainer to improve the chances of getting his attention.

Reply via email to