From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_40,INVALID_MSGID, SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4db5,84b6a7fb692122ab X-Google-Attributes: gidf4db5,public X-Google-Thread: f8c65,84b6a7fb692122ab X-Google-Attributes: gidf8c65,public X-Google-Thread: 113ae9,84b6a7fb692122ab X-Google-Attributes: gid113ae9,public X-Google-Thread: 10c4e6,84b6a7fb692122ab X-Google-Attributes: gid10c4e6,public X-Google-Thread: 1014db,84b6a7fb692122ab X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,84b6a7fb692122ab X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,84b6a7fb692122ab X-Google-Attributes: gid109fba,public From: David Turner Subject: Re: IMPORTANT : BUDDY SYSTEM PROJECT ?????? Date: 1997/10/03 Message-ID: <3434EF5B.6E0F@enst.fr>#1/1 X-Deja-AN: 277591982 References: <342813A1.EDE1B5BD@umac.mo> <342FD143.86@dmu.ac.uk> Organization: Ecole Nationale Superieure des Telecommunications, Paris France Newsgroups: hk.comp.pc,hk.comp.software,comp.lang.ada,comp.lang.modula2,comp.lang.c,comp.lang.c++,comp.lang.java.help Date: 1997-10-03T00:00:00+00:00 List-Id: Graham Perkins wrote: > > Eric , Chow Hoi Ka wrote: > > Who know what is BUDDY SYSTEM in OS ???? > > Who have the information about BUDDY SYSTEM ??? > > The "Binary Buddy System" is used in some operating systems > for managing the allocation of memory space to processes. > Well, it isn't only used in operating systems. It's just one of the memory allocation scheme that was developped to try outperforming the classic "best-fit" in terms of internal fragmentation, external fragmentation, allocation speed, or release speed, etc .. > > You must read an operating system book to discover more detail. > I'd rather suggest this excellent survey : Dynamic Storage Allocation: A Survey and Critical Review. Paul R. Wilson, Mark S. Johnstone, Michael Neely, and David Boles. In International Workshop on Memory Management, Kinross, Scotland, UK, September 1995. Postcript is available online at : ftp://ftp.cs.utexas.edu/pub/garbage/allocsrv.ps It discusses many issues related to memory allocation, and compares the various known schemes ( of which buddy systems ). The survey seems to indicate that buddy systems aren't really great when compared to other schemes, even in terms of allocation and coalescing speed.. > > Who have some source codes in Ada, C/C++, Modula2 or Java of BUDDY > > SYSTEM ???? > > The people who implement operating systems. and they probably > didn't use Modula-2 or Ada or C++ or Java Well, I know of one RT-OS written in Ada (RTOS), one general purpose OS written in Modula-3, and I wouldn't be surprised to learn that someone tried to do that in C++ (even if the chances of failure can be great if used without care). Moreover, this isn't really an issue about languages, but algorithms, which can all be implemented in any language (except maybe in Logo ?). And the concepts are usually simple to understand to not need a very long implementation.. Good luck, and good reading.. -- David "G" Turner | ( The 'G' doesn't stand for 'Genius' ! ) -- turner @ enst.fr | student at Telecom ( Paris, France ) -- -- Disclaimer : -- -- The current blah blah blah blah blah blah blah does not express the -- blah blah blah blah blah blah blah of TELECOM in any blah blah blah ..