Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: gsocdrm_github

Aug 31, 2013

  1. davshao

    Merge branch 'master' into gsocdrm_alter

    authored August 30, 2013

Aug 30, 2013

  1. systat - cleanup netbw/pftop (2)

    * Cleanup pass, fix a few bugs.
    authored August 30, 2013
  2. systat - cleanup netbw/pftop

    * Cleanup pass, fix a few bugs.
    authored August 30, 2013
  3. systat - Add -pftop feature to display active PF state table traffic

    * Add the -pftop (:pftop) feature.  This feature displays all active
      PF states.  PF (packet filter) must be active for this feature to be
      useful.
    
      Only those states which are actively passing traffic are displayed,
      which makes this a lot more useful than a raw 'pfctl -s state' dump.
    
    * Display is sorted by highest aggregate receive+transmit bandwidth.
    authored August 30, 2013
  4. Franco Fichtner

    clog.8: break line after a sentence

    authored August 30, 2013 Sascha Wildner committed August 30, 2013
  5. syslog - add rexmit to -netbw

    * Add aggregate byte retransmission rate
    authored August 29, 2013
  6. systat - further enhance -netbw

    * Print IPs in a more readable fashion
    * A better IP:port sort order
    * Better alignment
    * Add interesting state and TCP flags
    authored August 29, 2013
  7. systat - Add -netbw option

    * Add a new option -netbw (or :netbw when running).  This option displays
      the aggregate and per-connection tcp receive and send data rate.
    
      Only active connections are shown, making it easy to pick out which
      connections are hogging the line.
    authored August 29, 2013
  8. kernel/ed: Fix typo in a variable name.

    authored August 30, 2013
  9. Antonio Huete Jiménez

    test/vkernel - Additions to leaf target

    * Add nameservers to resolv.conf
    authored August 29, 2013

Aug 29, 2013

  1. Franco Fichtner

    fix mandoc(1) warnings in usr.sbin/

    authored August 27, 2013 Sascha Wildner committed August 29, 2013
  2. tools/accept_connect: Remove unused .gitignore

    authored August 29, 2013
  3. tcp: Implement random initial msgport

    After e368a6e, it is found that the
    left bottle neck of nonblocking TCP connect(2) performance is that all
    socket(2) and initial TCP connect operation (bind laddr and lport) are
    all carried out in netisr0; CPU0 is 100% busy during test.
    
    The idea of random initial msgport for TCP is that instead of using
    netisr0's msgport as initial msgport, we could use any of the available
    netisr msgport to carry out socket(2) and initial TCP connect operation.
    
    Most of parts of TCP are already ready for random initial msgport, only
    TCP pru_listen requires trivial modification to fix the socket msgport
    to netisr0's msgport (which is required to perform global wild hashtable
    updating).
    
    As of this commit, the current CPU's netisr msgport will be selected as
    TCP socket's initial msgport, if random initial msgport is enabled.
    
    Sysctl node kern.ipc.rand_initport is added to disable this optimization.
    It is enabled by default.
    
    This commit improves both nonblocking TCP connect(2) and blocking TCP
    connect(2) performance.
    
    Nonblocking connect(2) performance measurement (i7-2600 w/ bnx(4)), using
    tools/tools/netrate/accept_connect/kq_connect_client:
    
        kq_connect_client -4 SERVADDR -p SERVPORT -i 8 -c 32 -l 30
        (8 processes, each creates 32 connections simultaniously)
    
    16 run average:
        random initial msgport          netisr0 msgport
          263915.17 conns/s            220979.89 conns/s
    
    This commit gives ~19% performance improvement for nonblocking connect(2)
    
    Blocking connect(2) performance measurement (i7-2600 w/ bnx(4)), using
    tools/tools/netrate/accept_connect/connect_client:
    
        connect_client -4 SERVADDR -p SERVPORT -i 256 -l 30
        (256 processes)
    
    16 run average:
        random initial msgport          netisr0 msgport
          240235.23 conns/s            198312.87 conns/s
    
    This commit gives ~21% performance improvement for blocking connect(2)
    authored August 28, 2013

Aug 28, 2013

  1. inpcb: Make sure that inp_cpcbinfo always points to the correct pcbinfo

    authored August 28, 2013
  2. kernel: Fix LINT too.

    authored August 28, 2013
  3. proto: Fix comment

    authored August 28, 2013
  4. tcp: Fix comment

    authored August 28, 2013
  5. build: Unbreak LINT64 building

    authored August 28, 2013
  6. tcp: Implement asynchronous pru_connect

    This is mainly used to improve TCP nonblocking connect(2) performance.
    
    Before this commit the user space thread uses nonblocking connect(2)
    will have to wait for the netisr completes the SYN output.  This could
    be performance hit for nonblocking connect(2).  First, the user space
    thread is put into sleep, even if the connect(2) is nonblocking.
    Second, it does not make too much sense for nonblocking connect(2) to
    wait for the SYN output.
    
    TCP's asynchronous pru_connect implementation will set ISCONNECTING
    before dispatching netmsg to netisr0.  The errors like EADDRNOTAVAIL,
    i.e. out of local port space, will be notified through kevent(2) or
    getsockopt(2) SOL_SOCKET/SO_ERROR.
    
    NFS and other kernel code still use old synchronized pru_connect.  This
    commit only affects connect(2) syscall.
    
    Sysctl node kern.ipc.soconnect_async is added to enable and disable
    asynchronous pru_connect.  It is enabled by default.
    
    The performance measurement (i7-2600 w/ bnx(4)), using
    tools/tools/netrate/accept_connect/kq_connect_client:
    
        kq_connect_client -4 SERVADDR -p SERVPORT -i 8 -c 32 -l 30
        (8 processes, each creates 32 connections simultaniously, run 30 secs)
    
    16 runs average:
    
        asynchronous pru_connect        synchronized pru_connect
            220979.89 conns/s               189106.88 conns/s
    
    This commit gives ~16% performance improvement for nonblocking connect(2)
    authored August 20, 2013
  7. tools: Add test for nonblocking connect(2) performance measurement

    authored August 28, 2013

Aug 27, 2013

  1. vga_pci: Add API to map the Video BIOS

    Obtained-from: FreeBSD
    SVN commit r254882 and a few missing bits
    authored August 27, 2013
  2. kernel/i386: Implement pmap_mapbios()

    authored August 25, 2013
  3. kernel/i386: Add PAT support, mapdev_attr, kmem_alloc_attr

    authored August 27, 2013
  4. kernel/i386: add pmap_invalidate* functions

    They are roughly similar to the amd64 implementations but due to
    i386 pmap shortcomings we have to completely flush cpu caches in
    some cases, which is not ideal performance-wise.
    authored August 25, 2013
  5. top.1: Remove unnecessary .Nm argument.

    authored August 27, 2013

Aug 26, 2013

  1. kernel: Add three missing ')', two of them in (yet) unused code.

    authored August 26, 2013
  2. davshao

    Merge branch 'master' into gsocdrm_alter

    authored August 25, 2013

Aug 25, 2013

  1. kernel/cam: Fix I/O performance regression seen at least in VMware ESXi.

    This brings in FreeBSD's revisions 188570, 188670, 188671 and 188688.
    188670 (most changed lines in the patch) is for debugging purposes only,
    while 188570 and 188671 fix the actual issue and 188688 fixes gcc whining.
    
    Reported-and-tested-by: Dongsheng Song <dongsheng.song@gmail.com>
    
    Extra credit to vsrinivas who had actually pointed out 188570 to us a
    while ago before it hit us now but at the time I hadn't noticed.
    
    Quoting FreeBSD's commit messages:
    
    r188570
    -------
    In the case that the probe has determined that it can't query the device
    for a serial number, fall through to the next case so that initial
    negotiation still happens.  Without this, devices were showing up with
    only 1 available tag opening, leading to observations of very poor I/O
    performance.
    
    This should fix problems reported with VMWare Fusion and ESX.  Early
    generation MPT-SAS controllers with SATA disks might also be affected.
    HP CISS controllers are also likely affected, as are many other
    pseudo-scsi disk subsystems.
    
    r188671
    -------
    Fix parallel SCSI negotiation in the CAM_NEW_TRAN_CODE world order.
    Overzealous sanity checks were locking the sync_rate and offset values
    to zero, thanks to a twisty maze of recursive code.
    authored August 25, 2013
  2. Franco Fichtner

    fix mandoc(1) warnings in sbin/

    dump.8 bits taken from FreeBSD.
    authored August 24, 2013 Sascha Wildner committed August 25, 2013
  3. Franco Fichtner

    groff(1): disable hyphenation and change bullet representation

    In order to switch to mandoc(1) eventually we want groff(1) to
    output manual pages as similar as possible.  Hyphenation is the
    biggest offender.
    
    Approved-by: swildner
    Taken-from:  OpenBSD
    authored August 24, 2013 Sascha Wildner committed August 25, 2013
  4. groff: Commit our local patches.

    authored August 24, 2013
  5. Avoid calling chn_wrfeed with an empty soft buffer

    authored May 03, 2013 François Tigeot committed August 25, 2013
  6. kernel: Add some missing sound devices to the LINT configs.

    authored August 25, 2013

Aug 24, 2013

  1. kernel: Remove unused lines in pc64's 'files' file.

    authored August 24, 2013
  2. kernel: Add 'targ' and 'targbh' devices to the LINT configs.

    authored August 24, 2013
Something went wrong with that request. Please try again.