Skip to content
Snippets Groups Projects
  1. Feb 12, 2014
  2. Feb 09, 2014
  3. Feb 07, 2014
  4. Feb 06, 2014
  5. Feb 05, 2014
  6. Feb 03, 2014
    • Glauber Costa's avatar
      tests: add tests for disk latency. · a9e63f3a
      Glauber Costa authored
      
      This test is similar in spirit to misc-bdev-write, but instead of pushing
      as many bios as we can, we'll push one bio at a time.
      
      Example output for Xen:
      
      OSv v0.05-118-g0f2973c
      Min      50%      90%      99%      99.99%   99.999%  Max     [msec]
      ---      ---      ---      ---      ------   -------  ---
      0.2344   0.3240   0.2847   0.8185   2.4095   6.5230   13.6572
      
      Example output fo KVM:
      
      OSv v0.05-118-g0f2973c
      Min      50%      90%      99%      99.99%   99.999%  Max     [msec]
      ---      ---      ---      ---      ------   -------  ---
      0.2626   0.3976   0.3273   0.4791   0.5993   7.6401   15.9672
      
      (Hint: the current xen blkfront slowness is not related to RT latency...)
      
      Signed-off-by: default avatarGlauber Costa <glommer@cloudius-systems.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      a9e63f3a
  7. Feb 02, 2014
  8. Jan 29, 2014
  9. Jan 28, 2014
  10. Jan 21, 2014
    • Nadav Har'El's avatar
      chdir(): Fix error path, and add test · 4ae8779e
      Nadav Har'El authored
      
      This patch fixes chdir() on a normal file, which used to succeed (!?),
      but now will fail as it should, with ENOTDIR.
      
      The patch also adds an exhaustive test for chdir's success and error cases.
      Before the latest chdir() patches, most of these tests would fail, and now
      all of them succeed.
      
      This test is standard C++ & Posix code, so it can be run also on Linux.
      This is important for verifing that whatever we expect from OSv, Linux
      really does the same.
      
      Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      4ae8779e
    • Pekka Enberg's avatar
      build: Force version.h regeneration · d8530b6d
      Pekka Enberg authored
      
      Force version.h generation to make sure the version number matches the
      git version.  I noticed the problem after tagging v0.05-rc1 and noticing
      that OSv happily reported the same version even after applying patches.
      
      Use the special ".PHONY" target suggested by Tomek to avoid breakage
      from previous attempt that is documented in commit 996fdfde ('Revert
      "build: Force version.h generation"').
      
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      d8530b6d
  11. Jan 20, 2014
  12. Jan 17, 2014
  13. Jan 14, 2014
    • Nadav Har'El's avatar
      Move tests to a separate module · 4d0ed4c3
      Nadav Har'El authored
      
      Instead of always putting the tests into all images, this patch adds the
      option of putting them only in some of the images, by making them into a
      new module, modules/tests.
      
      The default image (images/default.py) continues to require the tests
      modules, so tests are included in the default image. Building with
      "make image=tests" makes an image with only the tests and nothing else.
      Other images (e.g., memcached, cassandra,...) currently do not require
      the tests module, so the generated image does will not include the tests.
      
      With this patch, "make image=memcached", for example, contains only the
      bare minimum needed for memcached, and the resulting qcow image is just
      18 MB, down from 69 MB when we included all the tests.
      
      Fixes #160
      
      Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      4d0ed4c3
    • Pekka Enberg's avatar
      Revert "build: Force version.h generation" · 996fdfde
      Pekka Enberg authored
      
      This reverts commit d914ee0d because it breaks
      the build:
      
        I'm trying to compile the latest source code from git HEAD and I'm heaving
        the following error:
      
        make -r -C build/release/ all
        make[1]: Entering directory `/home/eduardo/workspace/osv/build/release'
        make[1]: *** No rule to make target
        `/home/eduardo/workspace/osv/build/release/gen/include/osv/version.h',
        needed by `/home/eduardo/workspace/osv/build.mk'.  Stop.
        make[1]: *** Waiting for unfinished jobs....
          GEN gen/include/bits/alltypes.h
        make[1]: Leaving directory `/home/eduardo/workspace/osv/build/release'
        make: *** [all] Error 2
      
      Reported-by: default avatarEduardo Piva <efpiva@gmail.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      996fdfde
    • Nadav Har'El's avatar
      Makefile: remove unnecessary -lstdc++ · 2f9a889e
      Nadav Har'El authored
      
      Since our kernel includes the entirety of libstdc++, there's no point of
      specifying "-lstdc++" while linking shared objects (like tests and cpio.so):
      This "linking" doesn't actually do any linking, it just specifies that the
      libstdc++ library is needed, but we already have it, needed or not.
      
      The list of objects-needing-libstdc++ was not only unnecessary, but probably
      also out of date, since we stopped bothering to update it after libstdc++
      was added into the kernel.
      
      So this patch removes these -lstdc++ lines.
      
      Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      2f9a889e
  14. Jan 13, 2014
  15. Jan 10, 2014
  16. Jan 08, 2014
  17. Jan 07, 2014
  18. Jan 03, 2014
  19. Jan 02, 2014
Loading