• No results found

Master Thesis – Evaluate Fragmentation Effects of Different Heap Allocation Algorithms on Linux (30p)

N/A
N/A
Protected

Academic year: 2021

Share "Master Thesis – Evaluate Fragmentation Effects of Different Heap Allocation Algorithms on Linux (30p)"

Copied!
2
0
0

Loading.... (view fulltext now)

Full text

(1)

Master Thesis – Evaluate Fragmentation Effects of Different Heap Allocation Algorithms on Linux (30p)

Description

In any long-running, embedded software system, dynamic memory, i.e. heap, poses a challenge. While the speed of heap allocation is important, the real “killer” is external fragmentation. This is especially the case for highly utilised embedded systems with high-availability requirements. In the worst case, fragmentation is so severe that there are no large enough heap buffers available for allocation, causing the application to crash, and system availability to degrade.

If the embedded system is required to use heap, the problem essentially boils down to the right choice of heap allocation algorithm. This thesis aims at evaluating fragmentation effects of several different algorithms under Linux namely, ptmalloc2, ptmalloc3, tcmalloc, and TLSF. CPU time performance shall also be taken into account as part of the evaluation.

Task

As part of the thesis work, the student is required to complete the following:

• Create a test application in C that uses malloc/free library calls; it shall be possible to run different allocation

“profiles”, i.e. allocations of different heap buffer sizes (e.g. small, large, mix)

• Run the test application with ptmalloc2, ptmalloc3, tcmalloc and TLSF allocation algorithms

• Monitor both the fragmentation and the CPU cycles for different allocation profiles and different allocation algorithms

• Provide a final evaluation of different allocation algorithms in regard to fragmentation, and CPU cycle penalties

Qualifications

This project aims at Master of Science (civilingenjör) students in electrical engineering, computer science, computer engineering or equivalent academic program. Typically skills required:

• Familiar with C, Linux and glibc

• Good communications skills in English

(2)

Contact persons:

Line manager contact: Magnus Johansson C, Ericsson AB, Linköping magnus.c.johansson@ericsson.com

+46 10 711 54 74

Thesis Contacts: Armin Catovic, Ericsson AB, Linköping armin.catovic@ericsson.com

+46 10 71 65738

References

Related documents

Cross-border structures do not constitute additional administration levels. They are rather a cross-border interface or exchange to enhance the cross-border efficiency of

That so far no clear and coherent EU Arctic policy is established is apparent from the Council stating that it “welcomes the gradual formulation of a policy on Arctic issues to

The terms “turbine” and “expander” can be used interchangeably for most applications, but expander is not used when referring to kinetic energy applications, as the fluid does not

The author will investigate different potential algorithms for code coverage optimization as well as available input parameters, visualize the results so that the efficiency of

Simulator/emulator based environments (STE) are used as complement to real hardware environment in order to save money and to have a user friendly and highly accessible

Qualifications: This project aims at Master of Science (civilingenjör) students in electrical engineering, computer science, computer engineering or equivalent academic

Drawing on the theoretical base the project shall make an evaluation of the usability in a set of selected IPsec products with respect to the needs that can be identified for a 4G

VISUALIZATION OF AN AUTOSAR SYSTEM How to visualize a large system without missing the details VIRTUAL AUTOSAR ENVIRONMENT ON LINUX Developing and running an Autosar system on