From: Michael K. <li...@mk...> - 2020-05-24 20:49:37
|
> Am 24.05.2020 um 22:35 schrieb Lonnie Abelbeck <li...@lo...>: > > I tried > -- > lxc.cgroup.memory.limit_in_bytes = 512M > lxc.cgroup.cpuset.cpus = 1 > -- > and 'htop' show 4 cores and 4 GB of RAM. > > Kind of makes sense sense /proc/ is shared. > > There is an optional lxcfs (uses FUSE) that offers a different /proc/ to each container, but don't really think this is needed with AstLinux. > > Lonnie Try running the "yes" stresstest in the container, with the above limitations. >> On May 24, 2020, at 3:25 PM, Michael Keuter <li...@mk...> wrote: >> >> I did some tests and at least the number of cores worked for me. Look at these optional commands: >> >> https://doc.astlinux.org/userdoc:guest_lxc_container#optional >> >> The CPU shares are to set priorities between multiple containers. But it needs to be tested more. >> >> >>> Am 24.05.2020 um 22:17 schrieb Lonnie Abelbeck <li...@lo...>: >>> >>> Hi Michael, >>> >>> Not currently. >>> >>> For the AstLinux case we did not see much of an issue if the LXC can see all cores and all RAM. >>> >>> Lonnie >>> >>> >>>> On May 24, 2020, at 3:12 PM, Michael Knill <mic...@ip...> wrote: >>>> >>>> Can you limit CPU resources to the LXC container? >>>> >>>> Regards >>>> Michael Knill >>>> >>>> On 24/5/20, 8:08 pm, "Michael Keuter" <li...@mk...> wrote: >>>> >>>> >>>> >>>>> Am 24.05.2020 um 07:35 schrieb Michael Knill <mic...@ip...>: >>>>> >>>>> Not really knowing anything about LXC Containers, just wondering if I could install Centos and run QueueMetrics on the same box. >>>>> This would be a pretty cool option! >>>>> >>>>> https://www.queuemetrics.com/install-queuemetrics.jsp >>>>> https://www.queuemetrics.com/blog/2018/12/04/dimensioning-queuemetrics/ >>>>> >>>>> Regards >>>>> Michael Knill >>>> >>>> Hi Michael, >>>> >>>> in general this should work, but needs to be tested. >>>> The question is how much diskspace, RAM and CPU power will be needed. All is shared with the host. >>>> >>>> Michael >> >> Michael >> >> http://www.mksolutions.info >> >> >> >> >> >> _______________________________________________ >> Astlinux-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... > > > > _______________________________________________ > Astlinux-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to pa...@kr.... Michael http://www.mksolutions.info |