{"id":240,"date":"2025-04-15T15:38:07","date_gmt":"2025-04-15T14:38:07","guid":{"rendered":"https:\/\/guillaumesblog.net\/?p=240"},"modified":"2025-04-15T15:39:59","modified_gmt":"2025-04-15T14:39:59","slug":"operating-systems","status":"publish","type":"post","link":"https:\/\/guillaumesblog.net\/index.php\/operating-systems\/","title":{"rendered":"Operating Systems"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I took some time to review how they work and their purpose. I would say so far this is mostly useful to understand the performance issues and bottlenecks. For instance knowing about the topic gives the command htop a whole new dimension, it is finally possible to understand the options and most of the KPIs in the window.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">The concept of system calls, of modes and context switching would also help again for either debugging or low level programming or reverse engineering. I remember doing quite a lot of C during my engineering degree but because we never took the time to go through operating systems functions like scanf and printf would remain a black box&#8230; but not anymore.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On the topic of C one of the most frustrating or complex topic was memory management, and the course I followed took a lot of time to explain RAM and the concept of byte addressable system, as well as paging, demand paging, schedulers, process control blocks, segregation and critical section concepts. If I had had the patience back then I would have scored so much better marks at C if I had studied Operating systems.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The multithreaded topic was something new for me, it finally answered my questions on why I did not see many Apache processes on my web server when I had a bunch of visitors, it is an elegant way of saving RAM.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Commands in Linux that now make a lot more sense are: nice, lsof, strace, cpulimit for instance. Overall, I see these OS concepts interesting and necessary for managing Kubernetes, SLURM or any type of distributed application, as well as low level programming and hacking of course.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The resource I used was Vignesh Sekar&#8217;s course on Udemy, Operating Systems part 1,2,3 and 4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I took some time to review how they work and their purpose. I would say so far this is mostly useful to understand the performance issues and bottlenecks. For instance knowing about the topic gives the command htop a whole new dimension, it is finally possible to understand the options and most of the KPIs &hellip; <a href=\"https:\/\/guillaumesblog.net\/index.php\/operating-systems\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Operating Systems&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-conversation"],"_links":{"self":[{"href":"https:\/\/guillaumesblog.net\/index.php\/wp-json\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guillaumesblog.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guillaumesblog.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guillaumesblog.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guillaumesblog.net\/index.php\/wp-json\/wp\/v2\/comments?post=240"}],"version-history":[{"count":3,"href":"https:\/\/guillaumesblog.net\/index.php\/wp-json\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":243,"href":"https:\/\/guillaumesblog.net\/index.php\/wp-json\/wp\/v2\/posts\/240\/revisions\/243"}],"wp:attachment":[{"href":"https:\/\/guillaumesblog.net\/index.php\/wp-json\/wp\/v2\/media?parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guillaumesblog.net\/index.php\/wp-json\/wp\/v2\/categories?post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guillaumesblog.net\/index.php\/wp-json\/wp\/v2\/tags?post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}