Key Value Store (KVS) is a valid technique in systems such as telecommunications directories, IP transfer tables, and deduplication storage systems. In this time, we present an example of Accelerated KVS system by Alveo U50 with a lookup engine called ”Axonerve”.
Vendor | Modified | Size | Container Version |
---|---|---|---|
Axonerve by Nagase | November 16, 2020 | - | kvsimage_u50_v1.0 |
This application is containerized and can be easily run in a few minutes in the cloud, or on-premises.
On Premises | |
---|---|
Alveo U50 |
|
Begin your free trial and run the code sample below.
View and purchase available pricing plans for this application.
Follow the instructions based on your deployment method.
This application is a client-server model. Prepare two different PCs, one for the server machine where the U50 is installed and KVS application runs, and one for the client machine from where you can try accessing to the server using KVS utility scripts. Connect the U50 of the server to the client via 100Gb Ethernet cable. You may need additional hardware parts to use 100Gb Ethernet such as 100GbE transceivers, a 100GbE NIC for the client PC and so on.
The Xilinx Runtime (XRT) host application is supported on Ubuntu 16.04/18.04 and CentOS 7.x. With sudo access, use the following command to download and run the setup script for the server machine.
git clone https://github.com/Xilinx/Xilinx_Base_Runtime.git && cd Xilinx_Base_Runtime
./host_setup.sh –v 2020.1
Note:
With sudo access, use the following command to run the utility script to install docker.
cd Xilinx_Base_Runtime/utilities
./docker_install.sh
Enter the following commands in a terminal window on the server machine to run the server application:
source Xilinx_Base_Runtime/utilities/xilinx_docker_setup.sh
docker pull hubxilinx/axonerve_kvs_alveo_u50
Enter the following command in the terminal window to run the docker image in interactive mode. The container automatically starts the session to activate the KVS server application on the FPGA board. When you want to stop the session, press any key according to the message from the container.
docker run –it -v local_path_to_cred.json:/cred.json $XILINX_DOCKER_DEVICES hubxilinx/axonerve_kvs_alveo_u50:latest
Description of command arguments:
-v local_path_to_cred.json:/cred.json
- Map local cred.json dir : container dir$XILINX_DOCKER_DEVICES
– Variables set by the server setup scriptOnce the server application starts on the server machine, the KVS server is ready to respond to queries from the client machine. Enter the following commands in a terminal window on the client machine to use the KVS utility scripts.
Install Docker in the client machine, referring to the server setup above..
docker pull hubxilinx/axonerve_kvs_client_software
docker run -it --net=host hubxilinx/axonerve_kvs_client_software:latest
Python3-based utility scripts and a set of performance checker application sources are available in /software directory.
KVS utility scripts
Python users can use raw_axonerve_util.py as a library. Please see raw_axonerve_se.py, raw_axonerve_we.py, and raw_axonerve_reset.py to know how to use it.
For example, try running the following command on the client docker container:
cd /software; python3 raw_axonerve_util.py NIC_device_name
Description of command arguments:
Performance checker
Axonerve in this reference can handle queries up to 200M queries/sec, theoretically. Due to 100GbE limits, the maximum performance is about 190M queries/sec. To measure the performance, refer to the C program perf_check.c.
cd /software; make; ./perf_check