- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Memory allocation is very slow on the device because of the expensive page faults. I've measured a page fault handling speed of about 1 GB/s. This means that the allocation/registration of large buffers can take several seconds! Are there any plans to improve the efficiency of page allocation in the kernel? I think this is a quite significant performance issue.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, this is a significant performance issue. There are some optimizations in the MPSS 3.2 release scheduled for the later part of this quarter (Q1 2014), and there are more to come in further releases.
One of our experts suggests that you look at using mmap() with the MAP_POPULATE flag to force the pages to be prepopulated, avoiding later page faults.
Regards
--
Taylor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page