Article View: comp.sources.d
Article #740Re: Sorting in Virtual Memory
From: Eric Widhalm
Date: Tue, 01 Sep 1992 17:14
Date: Tue, 01 Sep 1992 17:14
27 lines
1540 bytes
1540 bytes
/ hpfcso:comp.sources.d / ericw@hpfcso.FC.HP.COM (Eric Widhalm) / 11:14 am Sep 1, 1992 / / hpfcso:comp.sources.d / frank@D012S436.sniap.mchp.sni.de () / 3:35 am Aug 27, 1992 / I'm writing a program which needs to sort a large array parts of which are swapped in and out of memory (my own implementation of a sort of VM). The array is divided up into pages of size ~8K which are swapped to disk as necessary on a LRU basis. Does anyone know of a sorting algorithm which will work in harmony with this LRU paging? I can quicksort the elements of each individual page of the array, but then the problem is to sort the pages themselves with the minimum amount of swapping. Traditional sort alrgorithms optimise on comparisons - what I want is also to optimise the *order* of comparison, I think. Any ideas? Any help appreciated, Frank O'Dwyer -- Frank O'Dwyer Disclaimer: Siemens-Nixdorf AG I will deny everything Tel. : +49 (89) 636-40639 Fax. : +49 (89) 636-45860 e-mail: Frank.ODwyer@sniap.mchp.sni.de ---------- ----------
Technical Details
Message-ID:
<7290003@hpfcso.FC.HP.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!scd.hp.com!hplextra!hpfcso!ericw@hpfcso.FC.HP.COMReferences:
<1992Aug27.093506.11349@sniap.mchp.sni.de>Show Full Headers
Complete Article Headers
From: ericw@hpfcso.FC.HP.COM (Eric Widhalm) Date: Tue, 1 Sep 1992 17:14:59 GMT Subject: Re: Sorting in Virtual Memory Message-ID: <7290003@hpfcso.FC.HP.COM> Organization: Hewlett-Packard, Fort Collins, CO, USA Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!scd.hp.com!hplextra!hpfcso!ericw@hpfcso.FC.HP.COM Newsgroups: comp.sources.d References: <1992Aug27.093506.11349@sniap.mchp.sni.de> Lines: 27