home *** CD-ROM | disk | FTP | other *** search
- m286 - fast malloc for Microport 286
- Michael Grenier 11/8/88
-
- A couple quick notes on m286 :
- - Binaries of this package were sent out via comp.unix.microport some
- months ago. It has since been modified slightly to include
- limited checking for bad pointers in free().
-
- - m286 seems to perform about 10 to 50 times faster than malloc(3C)
- under Microport version 2.3 and earlier. I haven't had a chance to
- benchmark it against v2.4 using malloc(3X)...hopefully someone will
- send me the tests results.
-
- - This package makes heavy use of the Intel 80286 processor
- specifics. It might be portable to XENIX provided the brk()
- system call always returns a new segment as it does under
- Microport. Of course, malloc under XENIX may already perform
- reasonably well.
-
- - The algorithm is based on the boundary tag system presented
- in the book Fundamentals of Data Structures written by
- Sahni and Horowitz.
-
- -Please send me bug reports!! mike@cimcor.mn.org
-
-
- Here are the test results from my 8 Mhz 1 wait state machine. The
- real time is significant as these test were run on an otherwise quiet
- machine. The big time difference seems to be due to the OS swapping
- processes for every brk() system call.
-
- Beginning test of standard malloc(3C) for allocating 400K bytes
- real 2:06.1
- user 37.6
- sys 14.3
-
- Beginning test of standard malloc(3X) for allocating 400K bytes
- real 21:39.6
- user 1.0
- sys 3.0
-
- Beginning test of standard m286(3X) for allocating 400K bytes
- real 8.4
- user 1.2
- sys 1.6
-