From owner-freebsd-hackers Thu Mar 26 00:16:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA03850 for freebsd-hackers-outgoing; Thu, 26 Mar 1998 00:16:59 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from d182-89.uoregon.edu (d182-89.uoregon.edu [128.223.182.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA03778 for ; Thu, 26 Mar 1998 00:15:31 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by d182-89.uoregon.edu (8.8.7/8.8.7) id AAA24943; Thu, 26 Mar 1998 00:14:08 -0800 (PST) Message-ID: <19980326001407.11694@hydrogen.nike.efn.org> Date: Thu, 26 Mar 1998 00:14:07 -0800 From: John-Mark Gurney To: Terry Lambert Cc: dec@phoenix.its.rpi.edu, eivind@yes.no, shimon@simon-shapiro.org, kgor@inetspace.com, roberto@keltia.freenix.fr, freebsd-hackers@FreeBSD.ORG Subject: Re: How do you increase available SYSV shared memory? References: <19980325160643.04833@hydrogen.nike.efn.org> <199803260605.XAA26927@usr01.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199803260605.XAA26927@usr01.primenet.com>; from Terry Lambert on Thu, Mar 26, 1998 at 06:05:15AM +0000 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Terry Lambert scribbled this message on Mar 26: > > > region in another process (ie: copy the pages if they are /dev/zero > > > pages, but share them otherwise), that SYSV SHMEM is actually a > > > better (in terms of performance) technology. > > > > what's wrong with a unix domain socket and passing the file descriptor > > through the socket? > > How do you arrive at a central point for echanging the information? the same way you obtain the sysv identifier... by using the file system... every one know that you don't hard code constants like this... 8-) 8-) or else you have problems like not being able to run multiple copies of your program... > Do you use SYSV IPC? 8-) 8-). well, I have when I played doom, it really was anoying to find that it wouldn't run more than once without me having to REMOVE the ipc structure that it left behind because ipc doesn't keep a usage count.. how about a nice DOS attack by someone grabing all of your SYSV shared memory?? as far as programming SYSV IPC goes, no, I don't... -- John-Mark Gurney Modem Rev/FAX: +1 541 346 9237 Cu Networking P.O. Box 5693, 97405 Live in Peace, destroy Micro$oft, support free software, run FreeBSD Don't trust anyone you don't have the source for To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message