Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pbalcer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
pbalcer
8y ago
Disclaimer: I work at Intel on PMDK (pmem.io) Both Windows and Linux implement DAX, which, as @the8472 explained, allows bypassing page cache in memory mapped I/O. Additionally, DAX optionally allows you to flush your data directly fro
92.
▲
by
pbalcer
8y ago
Yes, but to accomplish that you would have to use the MAP_FIXED flag, which is quite dangerous because it can replace previous mappings. That can lead to problems with dynamic memory allocation since almost all malloc() implementations use
93.
▲
by
pbalcer
8y ago
That's an excellent observation. You are indeed correct that pointers in memory mapped files are quite tricky to get right. When you think about shared memory in general, this isn't a new problem [0], and the solution is almost ex
94.
▲
by
pbalcer
8y ago
Yup. In this aspect libpmemobj could be compared to how Cap'N Proto [0] works. And of course, this has some trade-offs that users need to be aware of. [0] - https://capnproto.org/index.html
95.
▲
by
pbalcer
8y ago
The product being announced is for data centers.
96.
▲
by
pbalcer
8y ago
NVDIMMs allow for a significantly different storage layer compared to a traditional block-based device [0]. This is mostly because it's on the memory bus, thus significantly reducing latency. See slide 8 in this presentation [1]. [0] -
97.
▲
by
pbalcer
8y ago
Just running Postgres on an NVDIMM, or any other database for that matter, will give you a large speedup compared to normal storage, especially when you have strong durability requirements for a transaction (fsync() will be faster). But to
98.
▲
by
pbalcer
8y ago
Disclaimer: I work at Intel on PMDK (pmem.io) There's been a lot of interesting research around file systems for persistent memory. One that shows a lot of promise is NOVA [0]. Its focus is on making full us on this new type of memory.
99.
▲
by
pbalcer
8y ago
Disclaimer: I work at Intel on PMDK (pmem.io) It is the game changer that you wish for, since the marshaling logic that you mention is gone. Persistent Memory can be accessed directly through memory mapped file, bypassing the traditional
100.
▲
Persistent Memory Programming [pdf]
(usenix.org)
74 points
by
pbalcer
9y ago
|
0 comments
101.
▲
Persistent Memory Programming [pdf]
(usenix.org)
1 points
by
pbalcer
9y ago
|
0 comments