64bit sysv ipc code

Vasim Valejev vasim at resume-bank.ru
Wed Jul 25 11:41:52 UTC 2007


Hi !

I've made full patch to allow allocate blocks >1G size as SYSV's shared memory
(including that compilation warning fix) and attached to this message. This
patch is for 7.0-CURRENT code, but should work with 6.2 too.

Don't forget to copy /sys/sys/shm.h into /usr/include/sys/shm.h before
recompiling /usr/src/usr.bin/ipcs program. Other programs that are using
shmid_ds structure may need recompilation too.

Vasim V.
----- Original Message ----- 
From: "Daniel Gish" <dan at schoolfusion.com>
To: <freebsd-amd64 at freebsd.org>
Sent: Tuesday, July 24, 2007 9:41 PM
Subject: 64bit sysv ipc code


> Hi,
> We are working off the latest 6.2 amd64 snapshot.
>
> # uname -a
> FreeBSD anton 6.2-STABLE-200706 FreeBSD 6.2-STABLE-200706 #0: Fri Jul
> 20 13:17:02 MDT 2007
> root at anton:/usr/src/sys/amd64/compile/MYKERNEL  amd64
>
> The system has 8 gigs of memory.  We need to set a high SHMMAXPGS for
> Postgresql, and we're unable to set it above 2 gigs.  This message back
> in December gives more details about the problem, and mentions that
> "someone needs to go over the sysv ipc code and make it 64-bit capable":
>
> http://lists.freebsd.org/pipermail/freebsd-questions/2006-December/137633.html
>
> Does anyone have an update on this?  We are close to ditching FreeBSD in
> order to use Postgresql in a high memory configuration.
>
> Best Regards,
> Daniel
>
> -- 
> dan at centrifugesolutions.com
> (800) 906-0911
>
> http://www.schoolfusion.com
> Centrifuge Solutions LLC
> 1600 Downing St. Suite 700
> Denver, CO 80218
>
> _______________________________________________
> freebsd-amd64 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
> To unsubscribe, send any mail to "freebsd-amd64-unsubscribe at freebsd.org"
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysv.patch
Type: application/octet-stream
Size: 2918 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20070725/0c22e2f3/sysv.obj


More information about the freebsd-amd64 mailing list