From owner-freebsd-questions Tue Oct 8 05:19:57 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA22334 for questions-outgoing; Tue, 8 Oct 1996 05:19:57 -0700 (PDT) Received: from iaehv.IAEhv.nl (root@iaehv.IAEhv.nl [194.151.64.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA22190 for ; Tue, 8 Oct 1996 05:14:41 -0700 (PDT) Received: from kant (pm2d18.IAEhv.nl [194.151.70.51]) by iaehv.IAEhv.nl (8.6.13/1.63) with SMTP; pid 16686 on Tue, 8 Oct 1996 14:14:28 +0200; id OAA16686 efrom: walter@IAEhv.nl; eto: Message-ID: <325A45D1.446B@iaehv.nl> Date: Tue, 08 Oct 1996 05:15:13 -0700 From: Geert-Jan Plattel X-Mailer: Mozilla 2.0 (X11; I; IRIX 5.3 IP20) MIME-Version: 1.0 To: questions@freebsd.org Subject: hard resident memory limit? X-URL: http://www.se.freebsd.org/www.freebsd.org/mailto.html Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi guys, We've got this freebox with 128 MB. It is recognized and everything. We use this memory to grab about 115 Megabytes of videodata, using the appropriate MatroxMeteor driver. That's all ok. I got rid off the limits like memoryuse. Nevertheless the system always ends up swapping the pages I need so badly. Quick grabbing is made impossible by this. Is there some hard limit? I don't know how to alter those. I couldn't find it in the documentation. I can only mlock as root? Is this normal? Can and should I change this? As root I can only mlock about 14 MB. Then some 'magic' limit of 40MB is reached. Why? Where can I change this limit? To provide a 'live'display of video, I have the XSHM running. And the grabber driver needs mmapped pages to drop the frames. I tried to mmap the shared memory from the XImage to the video grab board. This way I can XPutIMage the framedata directly without doing an extra bcopy? But this never works. Is there some permission problem? Thanks in advance. Geert-Jan Plattel