Rev 1888: (jam) combine readv requests in sorted order, use paramiko.readv() if available in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Fri Jul 28 17:44:28 BST 2006


------------------------------------------------------------
revno: 1888
revision-id: pqm at pqm.ubuntu.com-20060728164427-fdb5ec0bd7b40440
parent: pqm at pqm.ubuntu.com-20060727200511-3bfb6377b1695fad
parent: john at arbash-meinel.com-20060726193523-8eb718ca3c9eb9e4
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Fri 2006-07-28 17:44:27 +0100
message:
  (jam) combine readv requests in sorted order, use paramiko.readv() if available
modified:
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/tests/test_transport.py testtransport.py-20050718175618-e5cdb99f4555ddce
  bzrlib/tests/test_transport_implementations.py test_transport_implementations.py-20051227111451-f97c5c7d5c49fce7
  bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
  bzrlib/transport/sftp.py       sftp.py-20051019050329-ab48ce71b7e32dfe
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060726193523-8eb718ca3c9eb9e4
    parent: john at arbash-meinel.com-20060726192633-576e4ffd1ef9d605
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Wed 2006-07-26 14:35:23 -0500
    message:
      Some small cleanups.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060726192633-576e4ffd1ef9d605
    parent: john at arbash-meinel.com-20060726191628-d839f444c13977ed
    parent: pqm at pqm.ubuntu.com-20060726171113-b35a04e3a8a4ea94
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Wed 2006-07-26 14:26:33 -0500
    message:
      [merge] bzr.dev 1885
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060726191628-d839f444c13977ed
    parent: john at arbash-meinel.com-20060726191512-04cc5b4c5172cc22
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Wed 2006-07-26 14:16:28 -0500
    message:
      Remove benchmarking stipple.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060726191512-04cc5b4c5172cc22
    parent: john at arbash-meinel.com-20060726023445-2f3d6b4e6a34f48b
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Wed 2006-07-26 14:15:12 -0500
    message:
      A little cleanup, and restrict to 32K to conform better to sftp spec
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060726023445-2f3d6b4e6a34f48b
    parent: john at arbash-meinel.com-20060726000523-b32e736563f63bb4
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Tue 2006-07-25 21:34:45 -0500
    message:
      instrument to enable/disable readv support for testing
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060726000523-b32e736563f63bb4
    parent: john at arbash-meinel.com-20060725235242-289763706ddd0491
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Tue 2006-07-25 19:05:23 -0500
    message:
      Cleanup and document the new sftp readv implementation
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060725235242-289763706ddd0491
    parent: john at arbash-meinel.com-20060725172526-e669e5b1a25d78e3
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Tue 2006-07-25 18:52:42 -0500
    message:
      Use chunk combining to get even better performance
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060725172526-e669e5b1a25d78e3
    parent: john at arbash-meinel.com-20060725155730-2eebd4614b377181
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Tue 2006-07-25 12:25:26 -0500
    message:
      Try using paramiko.readv()
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060725155730-2eebd4614b377181
    parent: john at arbash-meinel.com-20060725011743-061bd6de8fc7b081
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Tue 2006-07-25 10:57:30 -0500
    message:
      Using a simple sftp_file.readv() request if possible.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060725011743-061bd6de8fc7b081
    parent: john at arbash-meinel.com-20060724192300-79ed075766097743
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Mon 2006-07-24 20:17:43 -0500
    message:
      Factor out the workhorse of Transport.readv() into a helper function, and re-use that function in sftp but with a non-prefetch file.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060724192300-79ed075766097743
    parent: john at arbash-meinel.com-20060721043403-3c4c68d3f7cf9fd3
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Mon 2006-07-24 14:23:00 -0500
    message:
      re-instrumenting for testing prefetch with paramiko >1.6
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060721043403-3c4c68d3f7cf9fd3
    parent: john at arbash-meinel.com-20060717182010-135040240cc6990b
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Thu 2006-07-20 23:34:03 -0500
    message:
      Switch to returning an object to make the api more understandable.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060717182010-135040240cc6990b
    parent: john at arbash-meinel.com-20060717181447-31ebd115152705e9
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Mon 2006-07-17 13:20:10 -0500
    message:
      Cleanup and NEWS
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060717181447-31ebd115152705e9
    parent: john at arbash-meinel.com-20060717180913-14234ba31b514962
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Mon 2006-07-17 13:14:47 -0500
    message:
      remove disable prefetch support
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060717180913-14234ba31b514962
    parent: john at arbash-meinel.com-20060717143334-3045e1f4a12e9f56
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Mon 2006-07-17 13:09:13 -0500
    message:
      Setting defaults based on benchmarking data.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060717143334-3045e1f4a12e9f56
    parent: john at arbash-meinel.com-20060714232106-eb0a847fab42b0f7
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Mon 2006-07-17 09:33:34 -0500
    message:
      Allow instrumenting using environment settings.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060714232106-eb0a847fab42b0f7
    parent: john at arbash-meinel.com-20060714213621-6ae1cf0baf2cd298
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Fri 2006-07-14 18:21:06 -0500
    message:
      play around with tuning the partial reads.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060714213621-6ae1cf0baf2cd298
    parent: john at arbash-meinel.com-20060714211623-fde89d41becd14a1
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Fri 2006-07-14 16:36:21 -0500
    message:
      Allow collapsing ranges even if they are just 'close'
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060714211623-fde89d41becd14a1
    parent: john at arbash-meinel.com-20060714202357-69cdf5515aec91c2
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Fri 2006-07-14 16:16:23 -0500
    message:
      always read in sorted order, and return in requested order, but only cache what is currently out of order
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20060714202357-69cdf5515aec91c2
    parent: pqm at pqm.ubuntu.com-20060713191849-c0cbdf94d208fa69
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: readv-combining
    timestamp: Fri 2006-07-14 15:23:57 -0500
    message:
      Change the readv combining algorithm for one that is easier to test.



More information about the bazaar-commits mailing list