> Am 24.05.2020 um 22:35 schrieb Lonnie Abelbeck <[email protected]>: > > 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 <[email protected]> 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 <[email protected]>: >>> >>> 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 >>>> <[email protected]> wrote: >>>> >>>> Can you limit CPU resources to the LXC container? >>>> >>>> Regards >>>> Michael Knill >>>> >>>> On 24/5/20, 8:08 pm, "Michael Keuter" <[email protected]> wrote: >>>> >>>> >>>> >>>>> Am 24.05.2020 um 07:35 schrieb Michael Knill >>>>> <[email protected]>: >>>>> >>>>> 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 >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/astlinux-users >> >> Donations to support AstLinux are graciously accepted via PayPal to >> [email protected]. > > > > _______________________________________________ > Astlinux-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > [email protected]. Michael http://www.mksolutions.info _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [email protected].
