Commit 08f6a7a1 authored by Florian Kaltenberger's avatar Florian Kaltenberger

removing cpu pinning of FAPI threads

parent 750e7c3c
......@@ -606,7 +606,7 @@ int stick_this_thread_to_core(int core_id)
void *epoll_recv_task(void *arg)
{
struct epoll_event ev, events[MAX_EVENTS];
stick_this_thread_to_core(10);
//stick_this_thread_to_core(10);
LOG_D(NFAPI_VNF,"Aerial recv task start \n");
int epoll_fd = epoll_create1(0);
if (epoll_fd == -1) {
......
......@@ -57,7 +57,7 @@ void *aerial_vnf_nr_p7_thread_start(void *ptr)
int s;
cpu_set_t cpuset;
CPU_SET(8, &cpuset);
//CPU_SET(8, &cpuset);
s = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset);
if (s != 0)
printf("failed to set afinity\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment