Date: Tue, 6 Sep 2016 14:21:28 +0000 From: Grzegorz Junka <list1@gjunka.com> To: freebsd-jail@freebsd.org Subject: Re: timerfd in FreeBSD jail? Message-ID: <975c9375-9241-64ea-602d-10ed3a47b46d@gjunka.com> In-Reply-To: <20160906160731.6060d41a@mona.office.misuthova.sk> References: <dfdcac92-c5d0-51d5-b307-5c1484c6278d@gjunka.com> <20160906143524.221f4994@mona.office.misuthova.sk> <3fd19a50-fef3-6504-5113-66a2bab0aa81@gjunka.com> <20160906160731.6060d41a@mona.office.misuthova.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/09/2016 14:07, Martin "eto" Misuth wrote: > On Tue, 6 Sep 2016 13:19:13 +0000 > Grzegorz Junka <list1@gjunka.com> wrote: >> OK, I was hoping that this is similar to creating ping sockets in jail, >> that it needs to be enabled on the host for jail to actually be able to >> execute ping. > Well unfortunately that is not the case, as you see. > >> How would I know that this is not implemented in the linux >> emulation layer rather than disabled on the host? > I would be interested in resource documenting emulated Linux syscall table > (on wiki perhaps) myself, maybe it is buried somewhere in the docs, but I > haven't found it yet. > > Supposedly SmartOS has similar emulator which is much more recent, I wonder > if FreeBSD masters could reuse some stuff from them. Seems Like emu is > not really top priority (as in supporting most recent stuffs) for FreeBSD > project right now. > >> And yes, I have the linux environment enabled and set up in the jail and >> it mostly works fine. But I didn't put it under any stress yet. I will >> see if the dart-sdk package can be somehow compiled without the timer_fd >> options. > Third option, if you have time and willforce, is to ditch jail altogether, and > to try running your CentOS install in bhyve hypervisor. That way you will lose > some cycles in emulation, but as full virtual computer is provided, resulting > CentOS install should work same as in any other VM. > > On the bright side you can then unload Linux emulation kernel modules from host. > > eto > _______________________________________________ > freebsd-jail@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" I was planning to use bhyve but it wants to consume an up-front specified amount of hard drive and memory. I am running the emulation on my laptop with 4GB or RAM and have only limited amount of SSD disk available, so running a jail was much lighter on resources. Grzegorz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?975c9375-9241-64ea-602d-10ed3a47b46d>