-
Notifications
You must be signed in to change notification settings - Fork 118
BenchMarking of pmemkv gets stuck for higher range inputs like 50k 100k #1086
Comments
Hi, I just run your program on my desktop (with emulated pmem) and it ended in no time, even for 500k. What machine are you running this on? And what path are you using for this testing - I'm just assuming you're using regular disk device underneath (like SSD or HDD) so I'd expect to take some time on these devices.
|
@lukaszstolarczuk I am using ubuntu 20 . It is having HDD hard disk type. Simultaneously on the same machine I am using other libraries for memory mapped files like raw implementation, using boost mmap and googleleveldb for comparison which is fast and better to use for my projects. These library work fine on the same machine. what to meant by emulated pmem? I have installed pmem with help of github mentioned steps. like - first - Installed the prerequisite packages as mentioned on pmemkv github page under - Installing on ubuntu section My code work fine in your system , even in my current mahine output is coming for smaller inputs like 1k 2k data. But while i am giving inputs as 50k 100k output is coming after 5 to 7 mins. Is there any different way to install emulated pmem? please clarify this. |
Hi, PMDK and our other libraries are hardware agnostic and are working on any medium - functionally, it doesn't matter if you run a piece of code on HDD, SSD, RAM, or Persistent Memory (Non-Volatile DIMMs). It will perform differently, but functionally it will work fine on all types of medium. To speed up the execution, I can recommend you not to use a file on an HDD device but rather on an emulated pmem ( |
QUESTION:
Details
Hi All,
I am first time using pmemkv. I wanted to test how much pmemkv takes time while inserting , reading , deleting 50k 100k data.
Below attached program work fine while i am giving inputs as 1k or 2k but as usual it takes longer time to insert read delete.
While i am testing with 50k 100k data it gets stuck for long time or takes much time to process like 5 min to insert / delete/ read.
can you please help me what is the mistake/issue or any bug . I am running this on ubuntu 20.
Please find the attached files
main.txt.txt
pmemkv_header.txt.txt
pmemkv_source.txt.txt
The text was updated successfully, but these errors were encountered: