Performance, loop 2

There are still problem with performance, after some experiments i distilled it to next case:

Execution of
time math/sieve 1000000 >/dev/null
takes about 170 secs

Execution of modified math/sieve with commented print() takes only about 3 secs.

So there is a real problem of using syscalls which operates with filesystems. (because even print()/fprint() leads to kwrite() syscall)

This entry was posted in Blog, Inferno OS, Raspberry Pi, Research. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>