From owner-freebsd-jail@freebsd.org Tue Sep 6 14:21:37 2016 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4254CBC6DCB for ; Tue, 6 Sep 2016 14:21:37 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [185.24.122.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A8765E29 for ; Tue, 6 Sep 2016 14:21:36 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from ultrabook.yoonka.com (ip-109-84-3-81.web.vodafone.de [109.84.3.81]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id u86ELXJf057161 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 6 Sep 2016 14:21:34 GMT (envelope-from list1@gjunka.com) X-Authentication-Warning: msa1.earth.yoonka.com: Host ip-109-84-3-81.web.vodafone.de [109.84.3.81] claimed to be ultrabook.yoonka.com Subject: Re: timerfd in FreeBSD jail? To: freebsd-jail@freebsd.org References: <20160906143524.221f4994@mona.office.misuthova.sk> <3fd19a50-fef3-6504-5113-66a2bab0aa81@gjunka.com> <20160906160731.6060d41a@mona.office.misuthova.sk> From: Grzegorz Junka Message-ID: <975c9375-9241-64ea-602d-10ed3a47b46d@gjunka.com> Date: Tue, 6 Sep 2016 14:21:28 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20160906160731.6060d41a@mona.office.misuthova.sk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2016 14:21:37 -0000 On 06/09/2016 14:07, Martin "eto" Misuth wrote: > On Tue, 6 Sep 2016 13:19:13 +0000 > Grzegorz Junka 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