- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We face the following error during init of QAT-1.5.
> dev_mem_alloc(): userMemAlloc failed
Is there an option to make QAT-1.5 use hugepages ?
Linux: 5.4.0-146-generic
Driver: qat1.5.l.1.13.0-19
Thanks,
Prashanth
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, ffernando.
Good day,
Thank you for posting on the Intel Community Support forum.
I received your ticket regarding that particular QAT error, and I will be reviewing this with you.
Please allow us to work on your inquiry and I will contact you back as soon as possible.
Regards,
Bruce C.
Intel Customer Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, ffernando.
Thank you for your patience.
Using huge pages with the QAT1.5 driver is not possible. This is a capability that was introduced in a later driver version (QAT1.7).
For memory allocation issues, you can follow the recommendation from the QAT1.5 Release Notes found here (refer to section 4.10): https://www.intel.com/content/www/us/en/content-details/710088/intel-qat-software-for-linux-release-notes-hw-version-1-5-l-1-13-0-19.html
Other QAT resources are available here: https://www.intel.com/content/www/us/en/developer/topic-technology/open/quick-assist-technology/resources.html
An important note is that the QAT1.5 driver is a legacy driver, and support is limited as new versions have been released for newer hardware.
If you have additional questions, please let me know, and I will follow up on May 12th just in case.
Regards,
Bruce C.
Intel Customer Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bruce,
Thanks for sharing the links.
I set the /proc/sys/vm/max_map_count to 262144, but still see the issue.
dmesg:
[ 9572.133288] Node 0 hugepages_total=512 hugepages_free=270 hugepages_surp=0 hugepages_size=2048kB
[ 9572.133290] 371107 total pagecache pages
[ 9572.133294] 154 pages in swap cache
[ 9572.133297] Swap cache stats: add 889, delete 735, find 59/92
[ 9572.133298] Free swap = 1413408kB
[ 9572.133300] Total swap = 1416748kB
[ 9572.133302] 1039868 pages RAM
[ 9572.133303] 0 pages HighMem/MovableOnly
[ 9572.133304] 91324 pages reserved
[ 9572.133306] 0 pages cma reserved
[ 9572.133307] 0 pages hwpoisoned
[ 9572.133311] [error]
[ 9572.133313] Unable to allocate memory mem_info->kmalloc_ptr
[ 9572.133315] [error]
[ 9572.133316] dev_mem_alloc(): userMemAlloc failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, ffernando.
Allow us to review this and I will contact you back as soon as I can share a response or in case more information is required.
Regards,
Bruce C.
Intel Customer Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, ffernando.
Thank you for waiting.
With the QAT1.5 driver being a legacy driver, support is very limited, and our previous response was meant to be a recommendation, not really a solution, to the memory allocation problem.
The other approach you may try is to check your application and QAT configuration file to see if there are too many instances, as noted in the Release Notes document already shared. Other than that, there are no additional recommendations, information or comments we can share.
If we can help you with anything else, please let me know, but if that is not the case I will proceed to close this thread on May 17th.
Regards,
Bruce C.
Intel Customer Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, ffernando.
Good day,
This message is to inform you about the thread closure.
We previously shared that with the QAT1.5 driver being a legacy driver, support is very limited, and our previous response was meant to be a recommendation, and the other approach you may try is to check your application and QAT configuration file to see if there are too many instances, as noted in the Release Notes document already shared.
The thread will be closed right now, and it will no longer be monitored by Intel support, but if you require any type of assistance from Intel in the future, just open a new thread, or contact us using any of the available support methods:
- https://www.intel.com/content/www/us/en/support/contact-intel.html
Best regards,
Bruce C.
Intel Customer Support Technician
![](/skins/images/DC0E2679F7049B943291D1ED082A478E/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page