abalib / power-gzip Goto Github PK
View Code? Open in Web Editor NEWPOWER9 gzip engine documentation and code samples
POWER9 gzip engine documentation and code samples
Dear Bulent,
in https://github.com/abalib/power-gzip/wiki/NX-842-compression-accelerator, you wrote that the NX-842 is only accessible from Kernel space. Would it be possible to expose the NX-842 to user space analogue to what you did with NX-GZIP?
Could the changes you applied to skiboot and the Linux kernel be "re-used" for the NX-842, or do you expect major differences in exposing the hardware, e.g. as /dev/crypto/nx-842?
Thank you very much for your feedback :-)
I'm trying to perform some tests with power-gzip library and it's samples but I'm getting errors:
❯ ./test_deflate
ioctl() n -1, error 22
open_device_nodes failed
nx_deflateInit err -2
❯ ../samples/gzm
ioctl() n -1, error 22
open_device_nodes failed
zpipe: invalid compression level
My system is a Raptor Computing System Blackbird with a 4-core Power9.
Here is my system info:
❯ uname -a
Linux debian-blackbird 5.9.8 #1 SMP Mon Nov 16 13:17:13 -03 2020 ppc64le GNU/Linux
❯ zcat /proc/config.gz|grep _VAS
CONFIG_PPC_VAS=y
❯ zcat /proc/config.gz|grep DEV_NX
CONFIG_CRYPTO_DEV_NX=y
CONFIG_CRYPTO_DEV_NX_COMPRESS=y
CONFIG_CRYPTO_DEV_NX_COMPRESS_PSERIES=y
CONFIG_CRYPTO_DEV_NX_COMPRESS_POWERNV=y
I've built the kernel with NX enabled and added permissions to /dev/crypto/nx-gzip
:
❯ ll /dev/crypto/nx-gzip
crw-rw-rw- 1 root root 248, 0 Nov 16 14:39 /dev/crypto/nx-gzip
Tried both master and develop branches but got same errors.
Hello Bulent
Do you have any information about availability of user space compression tools for AIX or RHEL linux running on the Power8 platform?
I am familiar with the DB2 for AIX hw compression feature per https://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP102732
we are interested in a more generic use for compressing large volumes of text files on the Power8. It appears that the required kernel hardware hooks may be available in AIX 7.1 TL3 and higher
I would appreciate your feedback
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.