From owner-cvs-all Thu Jan 21 01:33:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA10779 for cvs-all-outgoing; Thu, 21 Jan 1999 01:33:09 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA10767; Thu, 21 Jan 1999 01:33:08 -0800 (PST) (envelope-from dillon@FreeBSD.org) From: Matt Dillon Received: (from dillon@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id BAA21202; Thu, 21 Jan 1999 01:33:09 -0800 (PST) Date: Thu, 21 Jan 1999 01:33:09 -0800 (PST) Message-Id: <199901210933.BAA21202@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/vm default_pager.c swap_pager.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 1999/01/21 01:33:09 PST Modified files: sys/vm default_pager.c swap_pager.c Log: The default_pager's interaction with the swap_pager has been reorganized, and the swap_pager has been completely replaced. The new swap pager uses the new blist radix-tree based bitmap allocator for low level swap allocation and deallocation. The new allocator is effectively O(5) while the old one was O(N), and the new allocator allocates all required memory at init time rather then at allocate memory on the fly at run time. Swap metadata is allocated in clusters and stored in a hash table, eliminating linearly allocated structures. Many, many features have been rewritten or added. Swap space is now reallocated on the fly providing a poor-mans auto defragmentation of swap space. Swap space that is no longer needed is freed on a timely basis so no garbage collection is necessary. Swap I/O is marked B_ASYNC and NFS has been fixed to do the right thing with it, so NFS-based paging now has around 10x the performance as it did before ( previously NFS enforced synchronous I/O for paging ). Revision Changes Path 1.18 +1 -1 src/sys/vm/default_pager.c 1.109 +1 -1 src/sys/vm/swap_pager.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message