Skip to content
Snippets Groups Projects
  1. Jan 21, 2014
  2. Jan 20, 2014
  3. Jan 19, 2014
  4. Jan 17, 2014
    • Dmitry Fleytman's avatar
      DHCP: Support MTU option · 69bf74a7
      Dmitry Fleytman authored
      
      This patch introduces support for MTU option as described in
      RFC2132, chapter 5.1. Interface MTU Option
      
      Amazon EC2 networking uses this option in some cases and it gives
      throughput improvement of about 250% on big instances with 10G networking.
      
      Netperf results for hi1.4xlarge instances, TCP_MAERTS test, OSv runs netserver:
      
      Send buffer size     Throughput w/ patch (Mbps)     Throughput w/o patch (Mbps)     Improvement (%)
      
      32                   4912.29                        1386.28                         254
      64                   4832.01                        1385.99                         249
      128                  4835.09                        1401.46                         245
      256                  4746.41                        1382.28                         243
      512                  4849.04                        1375.23                         253
      1024                 4631.8                         1356.69                         241
      2048                 4859.59                        1371.92                         254
      4096                 4864.99                        1383.67                         252
      8192                 4627.07                        1364.05                         239
      16384                4868.73                        1366.48                         256
      32768                4822.69                        1366.63                         253
      65536                4837.67                        1353.87                         257
      
      Signed-off-by: default avatarDmitry Fleytman <dmitry@daynix.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      69bf74a7
    • Tomasz Grabiec's avatar
      build: do not generate .d file of the uploaded manifest · 88a2c035
      Tomasz Grabiec authored
      
      Fixes #116.
      
      Because modules add files to which cannot be handled by our build
      system incremental build fails with messages like this:
      
        make[1]: *** No rule to make target `/home/tgrabiec/src/osv \
           /apps/cassandra//upstream/jna-3.`
      
      Signed-off-by: default avatarTomasz Grabiec <tgrabiec@cloudius-systems.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      88a2c035
    • Zhi Yong Wu's avatar
      xen: Fix "error: unable to find tring literal operator" · 6b5b6696
      Zhi Yong Wu authored
      
      Total time: 30.77 secs
      make -r -C build/release/ all
      make[1]: Entering directory `/home/zwu/osv/build/release'
        CXX bsd/sys/xen/gnttab.o
      In file included from /home/zwu/osv/bsd/sys/xen/hypervisor.h:40:0,
                       from /home/zwu/osv/bsd/sys/xen/gnttab.cc:29:
      /home/zwu/osv/bsd/machine/xen/hypercall.h: In function ‘int HYPERVISOR_set_trap_table(const trap_info_t*)’:
      /home/zwu/osv/bsd/machine/xen/hypercall.h:146:9: error: unable to find string literal operator ‘operator"" STR’
      /home/zwu/osv/bsd/machine/xen/hypercall.h: In function ‘int HYPERVISOR_mmu_update(mmu_update_t*, unsigned int, unsigned int*, domid_t)’:
      /home/zwu/osv/bsd/machine/xen/hypercall.h:154:9: error: unable to find string literal operator ‘operator"" STR’
      /home/zwu/osv/bsd/machine/xen/hypercall.h: In function ‘int HYPERVISOR_mmuext_op(mmuext_op*, unsigned int, unsigned int*, domid_t)’:
      ......
      make[1]: *** [bsd/sys/xen/gnttab.o] Error 1
      make[1]: Leaving directory `/home/zwu/osv/build/release'
      make: *** [all] Error 2
      
      Reviewed-by: default avatarGlauber Costa <glommer@cloudius-systems.com>
      Signed-off-by: default avatarZhi Yong Wu <zwu.kernel@gmail.com>
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      6b5b6696
Loading