[Xorp-hackers] [greearb/xorp.ct] a8a674: xrl: Read up to 100 at a time instead of two.

noreply at github.com noreply at github.com
Tue Sep 6 17:09:34 PDT 2011


  Branch: refs/heads/master
  Home:   https://github.com/greearb/xorp.ct

  Commit: a8a67454e20116462e246d9fca3c35475d5ca746
      https://github.com/greearb/xorp.ct/commit/a8a67454e20116462e246d9fca3c35475d5ca746
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-09-06 (Tue, 06 Sep 2011)

  Changed paths:
    M xorp/libcomm/comm_api.h
  M xorp/libxipc/xrl_args.cc
  M xorp/libxipc/xrl_args.hh
  M xorp/libxipc/xrl_pf_stcp.cc
  M xorp/libxipc/xrl_router.cc

  Log Message:
  -----------
  xrl:  Read up to 100 at a time instead of two.

Clean up some white-space & comments.
Listen queue set to 50 instead of 5.

Might still be a problem with xrl processing...not sure if code
is smart enough to immediately start processing backlog if there
were more than 100, but 100 should be better than 2, at least.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: 886bacb32343e15965d0a9998514637e0c79b78f
      https://github.com/greearb/xorp.ct/commit/886bacb32343e15965d0a9998514637e0c79b78f
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-09-06 (Tue, 06 Sep 2011)

  Changed paths:
    M xorp/libxipc/xrl_pf_stcp.cc
  M xorp/libxipc/xrl_pf_stcp.hh
  M xorp/libxorp/asyncio.cc
  M xorp/libxorp/asyncio.hh

  Log Message:
  -----------
  xrl:  Remove dead code, some windows xmit, xrl batching.

This code was #if 0 and/or unused in other ways.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: 5337a2c915a5b74e6d4266f78322bd2862d721b9
      https://github.com/greearb/xorp.ct/commit/5337a2c915a5b74e6d4266f78322bd2862d721b9
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-09-06 (Tue, 06 Sep 2011)

  Changed paths:
    M xorp/libxorp/asyncio.cc

  Log Message:
  -----------
  xrl:  Remove more dead code.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: 8a5068be1a4e06bcc5a373c0eeccf860301bd1d4
      https://github.com/greearb/xorp.ct/commit/8a5068be1a4e06bcc5a373c0eeccf860301bd1d4
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-09-06 (Tue, 06 Sep 2011)

  Changed paths:
    M xorp/libxipc/xrl_pf_stcp.cc

  Log Message:
  -----------
  xrl:  Propagate socket write failures on windows.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: bcd90c855949d4cb70181b0178dbc97f7f0a9314
      https://github.com/greearb/xorp.ct/commit/bcd90c855949d4cb70181b0178dbc97f7f0a9314
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-09-06 (Tue, 06 Sep 2011)

  Changed paths:
    M xorp/libxorp/asyncio.cc

  Log Message:
  -----------
  asyncio:  Add some debugging logic for asyncio.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: 87358e2e437ffaf3908f08e5c8464fbfe21678d7
      https://github.com/greearb/xorp.ct/commit/87358e2e437ffaf3908f08e5c8464fbfe21678d7
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-09-06 (Tue, 06 Sep 2011)

  Changed paths:
    M xorp/SConstruct
  M xorp/bgp/SConscript
  M xorp/bgp/harness/SConscript
  M xorp/bgp/tools/SConscript
  M xorp/cli/SConscript
  M xorp/cli/tools/SConscript
  M xorp/contrib/olsr/SConscript
  M xorp/contrib/olsr/tools/SConscript
  M xorp/fea/SConscript
  M xorp/fea/tools/SConscript
  M xorp/fib2mrib/SConscript
  M xorp/libxipc/SConscript
  M xorp/libxorp/clock.cc
  M xorp/libxorp/clock.hh
  M xorp/libxorp/timer.cc
  M xorp/mld6igmp/SConscript
  M xorp/ospf/SConscript
  M xorp/ospf/tools/SConscript
  M xorp/pim/SConscript
  M xorp/policy/SConscript
  M xorp/rib/SConscript
  M xorp/rib/tools/SConscript
  M xorp/rip/SConscript
  M xorp/rip/tools/SConscript
  M xorp/rtrmgr/SConscript
  M xorp/static_routes/SConscript
  M xorp/vrrp/SConscript

  Log Message:
  -----------
  time:  Support higher-resolution time-stamps on windows.

By using the timePeriodBegin and timePeriodEnd logic.
Makes logs more useful in nothing else.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: c258fd4b127af71448e567b143b0e6fe0c54e1b4
      https://github.com/greearb/xorp.ct/commit/c258fd4b127af71448e567b143b0e6fe0c54e1b4
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2011-09-06 (Tue, 06 Sep 2011)

  Changed paths:
    M xorp/libxorp/eventloop.cc
  M xorp/libxorp/win_dispatcher.cc

  Log Message:
  -----------
  eventloop:  Clean up event loop slightly, cap wait on MS.

Was seeing hangs on windows..seems to work better if I cap
it to max of 100ms of sleeps.

Looks like waitForMultipleObjects can signal more than one
is ready (thank goodness), so need to change code to use
that information...that might be root cause of the slowness.

Signed-off-by: Ben Greear <greearb at candelatech.com>


Compare: https://github.com/greearb/xorp.ct/compare/facf723...c258fd4



More information about the Xorp-hackers mailing list