shenango / caladan

Interference-aware CPU scheduling that enables performance isolation and high CPU utilization for datacenter servers
Apache License 2.0
136 stars 56 forks source link

Fix UNIX socket abstract path #19

Closed hsadok closed 6 months ago

hsadok commented 8 months ago

There is an issue with how the UNIX socket abstract path is constructed. As it is, the abstract path is just a sequence of \0. It is supposed to just start with \0 and have a meaningful name after.

You can check this by running caladan and then executing the following command:

sudo lsof -U | grep @

You will see some that are just @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@. Which is a string of \0.

joshuafried commented 6 months ago

Merged, thank you!