Lanner AV-ICE02 User Manual
Page 27
![background image](https://www.manualsdir.com/files/820354/content/doc027.png)
Software User Manual Version 1.0.1
24
Install the kernel memory driver qaeMemDrv.ko, if the module has not already been
installed.
# insmod $ICP_ROOT/quickassist/lookaside/access_layer/src/sample_code/build/qaeMemDrv.ko
# cd $ICP_ROOT/quickassist/lookaside/access_layer/src/sample_code/build
# ./cpa_sample_code signOfLife=1
You will observe that execution time of the user space code takes longer than the
kernel space code. This is due to the sample code kernel space memory management
driver (qaeMemDrv.ko), which is slow to allocate and map memory to user space.
Before beginning performance measurements, the sample code allocates memory
up-front which slows execution time. This does not affect the performance of the
acceleration driver itself. The acceleration driver user space and kernel space
performance are equivalent, other things being equal (for instance, no throttling takes
place in either case).