Allowing SYSV shared memory to allocated more than 2GB

看板DFBSD_kernel作者時間14年前 (2011/05/17 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/8 (看更多)
When trying to test PostgreSQL concurrency on Matt's Opteron 48 core box with 64 GB of RAM I encountered the problem, that I wasn't able to set kern.ipc.shmmax to more than 1,99 GB. In colloboration with Sascha Wildner I created the following patch which allows to address more >= 2GB of shared memory. I ran PostgreSQL 9.0.4 on a X86_64 VM w/ 4GB configured with shared_buffers set to 2 GB (PostgreSQL uses shared memory for other things so we are well above the previous 1,99 limit). What isn't clear to Sascha and me: Do we need to bump the libc version because of this? Opinions please. http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/commitdiff/fa192ede950cd73380c8a257eea983831d3b97fe Jan
文章代碼(AID): #1DqMsuZX (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #1DqMsuZX (DFBSD_kernel)