EuhatOfp是一个对等网络机器间通信的开源库,基于用户态TCP协议栈,现在是在Dpdk Ofp上实现的。
refer to: https://github.com/euhat/EuhatOfp
人,技术,生活。
EuhatOfp是一个对等网络机器间通信的开源库,基于用户态TCP协议栈,现在是在Dpdk Ofp上实现的。
refer to: https://github.com/euhat/EuhatOfp
create three vmware guest machines for example,
ip of no.1 guest machine is 192.168.204.33
ip of no.2 guest machine is 192.168.204.34
ip of no.3 guest machine is 192.168.204.35
setup dpdk in every machine, all script and binary are in the setup directory, refer to <5. setup dpdk> in
modify test/servers.cfg
1 2 3 | 192.168.204.33:8061 192.168.204.34:8062 192.168.204.35:8063 |
for every guest machine modify self ip setting in test/ofp_netwrap.cli
1 2 3 | debug 0 loglevel set debug ifconfig fp0 192.168.204.33/24 |
in no.1 guest machine
1 2 | cd test ./release/test 0 |
in no.2 guest machine
1 2 | cd test ./release/test 1 |
in no.3 guest machine
1 2 | cd test ./release/test 2 |
then you can check the log files in test/log directory.
EuhatOfp is a library for peer to peers communication framework through user space tcp stack, now implemented in OFP over DPDK.
1. build ofp over dpdk
2. build EuhatOfp
1 | git clone https://github.com/euhat/EuhatOfp.git |
modify the paths of dpdk, odp-dpdk and ofp in test/Makefile.
1 2 3 | cd test make clean make |
app/src/main/java/com/euhat/rtsp/euhatrtspdemo/MainActivity.java
108 109 | // try to modify the 3rd parameter to 0. mEuhatPlayer.open(url, 8000, 0, 1000, fps, 300); |