Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

SLOB: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Tagging with {{Linux-stub}} using user scripts
SmackBot (talk | contribs)
m Date the maintenance tags and general fixes
Line 1: Line 1:
{{cleanup|date=August 2008}}
{{Cleanup|date=August 2008}}
{{nofootnotes|date=August 2008}}
{{Nofootnotes|date=August 2008}}
The '''SLOB''' (Simple List Of Blocks) is a one of three available of [[dynamic memory allocation|memory allocators]] (two other are [[Slab allocation|SLAB]], [[Slub allocation|SLUB]]) in [[Linux kernel]]. The SLOB allocator, is designed to be a small and efficient allocation framework for use in small systems such as embedded systems. Unfortunately, a major limitation of the SLOB allocator is that it suffers greatly from internal fragmentation.
The '''SLOB''' (Simple List Of Blocks) is a one of three available of [[dynamic memory allocation|memory allocators]] (two other are [[Slab allocation|SLAB]], [[Slub allocation|SLUB]]) in [[Linux kernel]]. The SLOB allocator, is designed to be a small and efficient allocation framework for use in small systems such as embedded systems. Unfortunately, a major limitation of the SLOB allocator is that it suffers greatly from internal fragmentation.


Currently uses first-fit algorithm which uses the first available space for memory. Recently a reply from [[Linus Torvalds]] on a Linux mailing list{{fact}} were made where he suggested the use of best-fit algorithm which tries to find a memory block which suits needs best, e.g. the smallest space which fits the required amount available, avoiding loss of performance, both by fragmentation and consolidation of memory.
Currently uses first-fit algorithm which uses the first available space for memory. Recently a reply from [[Linus Torvalds]] on a Linux mailing list{{Fact|date=August 2008}} were made where he suggested the use of best-fit algorithm which tries to find a memory block which suits needs best, e.g. the smallest space which fits the required amount available, avoiding loss of performance, both by fragmentation and consolidation of memory.


The SLOB allocator was used in [[DSLinux]] on [[Nintendo DS]] [[handheld console]].
The SLOB allocator was used in [[DSLinux]] on [[Nintendo DS]] [[handheld console]].
Line 13: Line 13:
* [[Slab allocation]]
* [[Slab allocation]]


{{Uncategorizedstub|date=August 2008}}

{{uncategorized|date=August 2008}}


{{Linux-stub}}
{{Linux-stub}}

Revision as of 04:38, 25 August 2008

The SLOB (Simple List Of Blocks) is a one of three available of memory allocators (two other are SLAB, SLUB) in Linux kernel. The SLOB allocator, is designed to be a small and efficient allocation framework for use in small systems such as embedded systems. Unfortunately, a major limitation of the SLOB allocator is that it suffers greatly from internal fragmentation.

Currently uses first-fit algorithm which uses the first available space for memory. Recently a reply from Linus Torvalds on a Linux mailing list[citation needed] were made where he suggested the use of best-fit algorithm which tries to find a memory block which suits needs best, e.g. the smallest space which fits the required amount available, avoiding loss of performance, both by fragmentation and consolidation of memory.

The SLOB allocator was used in DSLinux on Nintendo DS handheld console.

Source

See also