Skip to content

Additional size metrics #5

Open
@FAMILIAR-project

Description

@FAMILIAR-project

Right now, we are computing different sizes, but all rely on the same procedure:
https://github.com/TuxML/ProjetIrma/blob/dev/compilation/compiler.py#L256-L259
(the "raw" size of the file)

It's correct, but we miss an opportunity to gather much more information for free.

We should use size (UNIX command)
https://elinux.org/Kernel_Size_Tuning_Guide#Measuring_the_kernel

in particular 'size vmlinux
We can also use
nm --size -r vmlinux

We can add two new columns size_vmlinux (it will be string)
and nm_size_vmlinux (I suspect we have to store the information in a .log file)

It should be noted that we only have to do additional measures for vmlinux (not the compressed ones).

Some tests are needed (taking tinyconfig and some random configurations of 4.13.3 and 4.15)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions