Skip to content
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

Initial Insall/Build of latest srsRAN - "make test" chews up CPU and breaks TCP/IP connection #42

Open
dcrowleyMunster opened this issue Oct 15, 2022 · 0 comments

Comments

@dcrowleyMunster
Copy link

In running through the initial install steps and compiling from source (srsRAN):
- when running the "make test" step, the process would get to a maximum 787 tests and then the server dropped all TCP/IP and the "make test".
- Running "top" showed "make test" chewing up CPU and then process drop followed by network
connections dropped.

My fix was simple, please see below - If anyone else sees this issue, lower the process priority on the CPU

test@test-NUC8i7BEH:~/srsRAN/srsRAN/build$ sudo nice -n 15 make test
Running tests...
Test project /home/test/srsRAN/srsRAN/build
Start 1: thread_pool_test
1/1426 Test #1: thread_pool_test ................................................ Passed 4.14 sec
Start 2: thread_test
2/1426 Test #2: thread_test ..................................................... Passed 0.00 sec
Start 3: band_helper_test
3/1426 Test #3: band_helper_test ................................................ Passed 0.01 sec
Start 4: pdu_test
4/1426 Test #4: pdu_test ........................................................ Passed 0.02 sec
Start 5: mac_pcap_test
5/1426 Test #5: mac_pcap_test ................................................... Passed 0.06 sec
Start 6: mac_pdu_nr_test
6/1426 Test #6: mac_pdu_nr_test ................................................. Passed 0.01 sec
Start 7: chest_test_dl_cellid0
7/1426 Test #7: chest_test_dl_cellid0 ........................................... Passed 0.02 sec
Start 8: chest_test_dl_cellid1
8/1426 Test #8: chest_test_dl_cellid1 ........................................... Passed 0.01 sec
Start 9: chest_test_dl_cellid2
9/1426 Test #9: chest_test_dl_cellid2 ........................................... Passed 0.01 sec
Start 10: chest_test_dl_cellid0_50prb
10/1426 Test #10: chest_test_dl_cellid0_50prb ..................................... Passed 0.02 sec
Start 11: chest_test_dl_cellid1_50prb
11/1426 Test #11: chest_test_dl_cellid1_50prb ..................................... Passed 0.02 sec
Start 12: chest_test_dl_cellid2_50prb
........
.....................................
1423/1426 Test #1423: fsm_test ........................................................ Passed 0.01 sec
Start 1424: optional_test
1424/1426 Test #1424: optional_test ................................................... Passed 0.00 sec
Start 1425: cached_alloc_test
1425/1426 Test #1425: cached_alloc_test ............................................... Passed 0.04 sec
Start 1426: optional_array_test
1426/1426 Test #1426: optional_array_test ............................................. Passed 0.01 sec

100% tests passed, 0 tests failed out of 1426

Label Time Summary:
chest = 21.23 secproc (22 tests)
fec = 0.48 sec
proc (11 tests)
ldpc = 0.01 secproc (1 test)
lib = 208.14 sec
proc (1007 tests)
lte = 176.26 secproc (931 tests)
nr = 131.48 sec
proc (294 tests)
pdcp = 0.56 secproc (3 tests)
phch = 41.51 sec
proc (485 tests)
phy = 176.03 secproc (991 tests)
polar = 0.00 sec
proc (1 test)
rlc = 31.55 secproc (13 tests)
turbo = 0.46 sec
proc (9 tests)

Total Test time (real) = 334.42 sec
test@test-NUC8i7BEH:~/srsRAN/srsRAN/build$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant