Everything posted by hansan
-
Low-power 2023+ Intel N & U series boards (all form factors) + info on turnkey solutions
The roughly 20W was measured at the wall with a fresh Unraid out of the box with 2 fans (CPU + Case) and 2 nvme disks. No power saving settings in bios or in Unraid. That means cpu governor on "performance". And all hardware working (like 4xLan, audio, etc.) The roughly 40W was the same condition but with 3 WD RED plus 8TB disks (5400rpm CMR) runing. I do need to double check these numbers: the disks should have added only 3x5~6W so my 40W is probably too high. And I should remeasure with my CPU governor on "powersave" and the disks idle. And with the help of the information of @mavrrick I was able to activate the power monitoring and I could "reduce" it from 10W to roughly 4W (with multiple containers running). However while my processor cores are reaching C7 is my package C state only C2 or maybe C3. And I do not know yet how to get that to a better power level. I also did not manage to enable ASPM ..... So there are (for me) still many open items.
-
[Plugin] LXC Plugin
Thanks!. I will use the following in my config file: lxc.cgroup2.memory.max = 8192M And see if it works better. Do you plan to add "lxcfs" support? That could help to get "free" and "htop" report only the container and not the host memory. (I would not call it really a high priority item either.)
-
Low-power 2023+ Intel N & U series boards (all form factors) + info on turnkey solutions
Do you have some more information on what setting that was? Which driver do I need for this? I don't see this at this moment in the Dashboard. Is there some where some more documentation / website / forum post which gives some advice how to configure this motherboard such that you get the optimal performance (speed or low power etc.)? My focus is more to get average power consumption down. The Bios is quite overwhelming with very many options which are not so clear what they do and what optimal is. My board is actually one of a complete family of similar boards like the Topton N5105/N6005 or these DC N100/N305 or N100/N305 boards. All with a JMB585 to expand the sata and 4x i226-V 2.5G Ethernet interfaces. It would be nice to know how others have configured these boards and what kind of power consumption they really get.
-
[Plugin] LXC Plugin
Is it possible to limit the memory usage of the LXC container? Do a configuration error from my side was a process in my container eating all my memory and brought my unraid server down. 😧 I am looking for a way to prevent this from happening again. I have added the following the the config file for the container: lxc.cgroup.memory.limit_in_bytes = 8192M I am not 100% certain if this is really helping, because most tools like "free" and "htop" are still reporting the memory status of the host. Is there a more confirmed trick to limit the memory usage or should this work? I have read that lxcfs can help to separate the container more from the host so that "free" and "htop" report only the container memory.
-
Low-power 2023+ Intel N & U series boards (all form factors) + info on turnkey solutions
Just to share my experience: I use a CW-N305-NAS I3-N305 motherboard for my unraid system. https://cwwk.net/products/cwwk-n100-i3-n305-six-bay-nas-monster-board-4x-2-5g-6x-sata3-0-2x-m-2-nvme-115x-radiator-itx-board-type-motherboard (2x NVME cache, 3x WD RED disks, 32Gbyte memory, Pico PSU) I have "only" 1Gb network at home and only a few users. The limited amount of PCIe lanes is not a real limitation because the network is anyhow the bottleneck. The processor is nice and quick; no complain about the performance of the system. What is a big disappointment is the power consumption; according to Intel a TDP of 15W, but with this mainboard and disks is it more like 20 ~ 40W (from the wall) and I have not much luck yet to bring that really down. The usages of powertop crashes the computer. I think that these "Chinese" boards are too feature loaded and not really designed for low power. I am kind of jealous of others with normal CPU's and reporting 7W. I think that you can better study a bit more and get board from a big name with a previous generation processor. That gives probable a bigger change on a low Watt system.
-
[Plugin] LXC Plugin
I am sorry for my late response. I was rather busy at work. It is seen as "best" method in terms of resources but it doesn't work (yet) with proxmox. But that doesn't stop me. 😃 The main lxc container is on my cache btrfs file system. But that would not be big enough for all the files I store in nextcloud. That data is at a disk on my main array and I map it into the container with : xc.mount.entry = /mnt/disk1/NextCloudData /mnt/cache/lxc/NextCloudPi2/rootfs/mnt/disk none bind 0 0 With this I get around the fuse file system that lives on the /mnt/user "structure". I had to modify some of the handy NextCloudPi scripts that checks if someone tries to use FAT or other unsuited filesystems to accept the XFS file system of the main array. It looks like that it all works. Performance is ok, but I have at home not a big "deployment" either. I don't know if I will run into problems at a later time (and loosing all my data😱) Anyhow I like your plugin very much. This type of containers match much better with many years of linux experience than the docker ones. Those I will leave to the young whippersnappers😀 and just use them as "app" for a single function.
-
[Plugin] LXC Plugin
I tried your suggestion and that works well. Overwriting the rootfs is enough to get this debian based nextcloudpi lxc container working. Thanks for the advice and trying it for me. I got this using a LXC container as preferred method from here: https://help.nextcloud.com/t/getting-started-with-nextcloudpi-on-proxmox/113487 But probably is the difference not big and mainly depending on details such as use case and running environment. The NextCloudPi LXC container is giving an "problem" it wants to put the data on a btrfs or zfs file system and does not like the fuse or xfs file system of the unraid array. I can override this complain, but I will first check if a docker container works better.
-
[Plugin] LXC Plugin
Thanks for being willing to have a look into this. The images come from here: Github with NextcloudPi releases The link to the image that I think I want to use is: https://github.com/nextcloud/nextcloudpi/releases/download/v1.53.0/NextCloudPi_LXC_x86_v1.53.0.tar.gz I am aware that there are also different docker containers for Nextcloud, but I think that LXC will give a bit better performance with the different daemons/services needed and I made good experience with NextcloudPi native on a Odroid HC2. (It is my plan to replace all my "low" powered servers by one big unraid based server.)
-
[Plugin] LXC Plugin
@ich777 I want to thank you for this very nice and useful plugin / functionality. I am using it to have a Debian with ssh + rsync as backup server on my unraid system. 👍 I understood that "unprivileged" containers are not (yet) supported or are they? I can imagine that mapping the UID and GID correctly to the unraid versions adds a new dimension of problems. Now my real question: how do you install a LXC container from an existing tar file? Is it as simple as using the following in the lxc directory? lxc-create -t local -n NextCloudPi /mnt/user/isos/NextCloudPi_LXC_x86_v1.53.0.tar.gz I will have to study this all a bit more. Again many thanks for this very useful plugin!