AIFM-sys / AIFM

AIFM: High-Performance, Application-Integrated Far Memory
MIT License
104 stars 34 forks source link

failed to map ingress region #22

Closed DanielLee343 closed 1 year ago

DanielLee343 commented 1 year ago

Hi,

I'm facing similar error message as this but my tcp_device_server works fine, but not any client side tests:

lyuze@wanda0:~/AIFM/aifm$ sudo ./bin/test_array_add ./configs/client.config 192.168.0.230:8000
CPU 45| <5> cpu: detected 64 cores, 2 nodes
CPU 45| <5> time: detected 2899 ticks / us
[  0.004282] CPU 45| <5> loading configuration from './configs/client.config'
[  0.004333] CPU 45| <3> < 1 guaranteed kthreads is not recommended for networked apps
[  0.004367] CPU 45| <2> control_setup: failed to map ingress region
failed to start runtime

192.168.0.230 is my local host ip, and that matches the host_addr specified in client.config, but since this is solely client side it shouldn't matter. I make sure can ssh to local host without password. I have no problem running sudo ./scripts/setup_machines.sh and tcp_device_server.

DanielLee343 commented 1 year ago

I figure out in a closed issue that after deleting enable_directpath 1 in config files then it works.