-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SrsRAN gnb Will freeze if trying to isolate cpus (commit 4ac5300) #776
Comments
The issue seems to persist in 51e44a6 as well. |
@aibtw any update on this issue? |
unfortunately no, I wasn't able to pinpoint the issue. It works fine for commit 40b17b4 but doesn't work on any commit after that one. Moreover, on another machine (with exact same specs, and I am pretty sure same configs) it requires adding "sudo taskset -c 0-31" in order to work on commit 40b17b4, and I don't think it is correct to mix taskset with cpuset/cgroups, but that's the only way it could work for me, or I am missing some configurations. |
@ninjab3s could you comment here? |
I think your grub args are faulty. Can you provide the following information when you get a chance?
|
Here is the output of lscpu -p:
I have hyperthreading enabled if that matters.
|
I am not an expert on using isolcpus. We dont use it so I cannot verify your setup over here. I general, I would avoid using the
In general I would recommend creating a dedicated cgroup for your application or using systemd slices, but avoid using |
Thanks. I assumed that since the configuration |
Issue Description
I am trying to run the gNB with isolated cpus. as soon as the gNB start processing, everything freezes, and I can see two of the isolated cores are 100% loaded. The system then requires hard reboot.
Setup Details
Expected Behavior
To run normally, separate the load on multiple cores as configured in the config file.
Actual Behaviour
the system freezes, gNB loads two cores to the max
Steps to reproduce the problem
My setup for isolating the cores is:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on iommu=pt isolcpus=1-18 nohz_full=1-18 rcu_nocbs=1-18 kthread_cpus=0,19-31 rcu_nocb_poll mitigations=off skew_tick=1 selinux=0 enforcing=0 tsc=reliable nmi_watchdog=0 softlockup_panic=0 audit=0 intel_pstate=disable nosoftlockup hugepagesz=1G hugepages=8 hugepagesz=2M hugepages=0 default_hugepagesz=1G pcie_aspm=off"
The expert execution section:
Additional Information
The release version (24.04) doesn't get stuck.
The text was updated successfully, but these errors were encountered: