<!doctype html>
  Hello, This is Muhammet, I am a product oriented from-scratch
  web-developer. It's my hobby to think about new ideas and
  implement prototypes.

  Some of the things I like: Python (Django/Flask),
  Linux, Emacs, Restful Services, Data Science (R/Python),
  Html, SASS, Javascript (React/Jquery) and Sketch.

  PS. Yes you are reading the source markup of the page you are
  looking at. If you want to learn the details look at the repo
  @ https://github.com/jeffisabelle/my-blog-engine-2
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- higlight.js styles -->
    <link href="/static/css/highlight/solarized-dark.css" rel="stylesheet"/>
    <!-- fonts -->
    <link href='https://fonts.googleapis.com/css?family=Actor|Advent+Pro:400,300,500,600,700' rel='stylesheet' type='text/css'>
    <!-- font-awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
    <!-- animate.css -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.4.0/animate.min.css">
    <!-- main -->
    <link href="/static/css/main.css" rel="stylesheet"/>
    <title>Muhammet Can :: Do Memory Optimizers Really Work?</title>
    <div id="left-container">
    <div id="profile">
      <div class="container-fluid">
        <div class="row">
          <div class="col-xs-12">

            <div class="avatar">
              <del>my awesome picture</del>
              <img alt="" src="/static/img/thuglife.png"/>
            <div class="nav">
                <a href="/">
                <a href="#"> <!-- implement later -->
                <a href="#"> <!-- implement later -->
            <div class="social">
              <a href="https://tr.linkedin.com/in/muhammetcan" target="_blank">
                <i class="fa fa-linkedin-square l"><del>linkedin</del></i>
              <a href="https://github.com/jeffisabelle" target="_blank">
                <i class="fa fa-github-square l"><del>github</del></i>
              <a href="https://twitter.com/jeffisabelle" target="_blank">
                <i class="fa fa-twitter-square l"><del>twitter</del></i>
          </div> <!-- /profile -->
        </div> <!-- /col-xs-12 -->
      </div> <!-- /row -->
    </div> <!-- /container -->
    <div id="right-container">
      <article class="animated fadeInRight">
        <!-- dont put the source of actual blog here.
        ugly markup makes it hard to follow. -->

      <div class="container">
        <div id="disqus_thread"></div>
        <noscript>Please enable JavaScript to view the
          <a href="http://disqus.com/?ref_noscript">
            comments powered by Disqus.</a></noscript>

        <a href="http://disqus.com" class="dsq-brlink">comments
          powered by <span class="logo-disqus">Disqus</span></a>
    </div> <!-- /right-container -->

  <!-- jquery -->
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.min.js"></script>
  <!-- highlight.js -->
  <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.0.0/highlight.min.js"></script>
  <!-- bootstrap.js -->
  <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"></script>
  <!-- main.js -->
  <script src="/static/js/main.js"></script>

Do Memory Optimizers Really Work?

This blog post belongs to my Operating Systems course and it will be about the memory management on operating systems and ram optimizers.

The homework consists of a one question. Which is about memory management. The question is;

` Your manager tells you that there are some software which claims that they optimize the memory. On the other hand, there are many people says that this is a hooey and it actually decrease the performance of the system. Make a research, and briefly explain me which is correct.`

I've done some google search and I guess I did end up with a correct answer. Here is the things about RAM optimizers and if they do a good job or not.

My Response to the Manager

Okay, I've looked at several memory optimizer. And the thing is, well, they increase the available memory. But, what does it mean to be available? Is it a good thing? How they increase the available memory?

Available memory means, any program that are not yet in the memory can be moved to the memory when the program desire. So, it seems like increasing available memory is a good thing, right? NO.

The problem is not about the available memory but how these optimizer thing increase it. They actually remove cache from memory to increase the available memory. But, hey, don't we know that caching is the one of the most beatiful thing on computer science. We use caching on almost every piece of software (web caches, database systems etc.) and hardware memory caches. (l1, l2 etc.)

Operating Systems do cache memory accesses for a reason. (a good one) and should never ever removed from the memory if there is still available memory. These optimizers actually do a very, very bad for good performance. They want to use a lot of memory and operating system gives them what they want by removing the caches, after that they release the allocated memory, therefor we see an increase on available memory. But, we lost any cache stored in the memory for nothing.

I have found a video which explains this issue with an example optimizer from here; (Title: RAM Tweaker) http://www.letmebreakitdown.com/Tut_vid/Tut_vid.aspx

It was not working on the browser itself, (I use the most recent firefox) so I've downloaded it and uploaded it to youtube for easy access.

comments powered by Disqus