sftp prefetch disabled

John Arbash Meinel john at arbash-meinel.com
Mon Jul 17 18:30:10 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert disabled sftp prefetch a while ago, and I'm trying to figure out why.

Specifically revision id:
robertc at robertcollins.net-20060419233208-2ed6906796994316
date: Thu 2006-04-20 09:32:08 +1000

Has the commit message:
... Disable all SFTP prefetching for known paramikos - direct readv
support is now a TODO.


There are 2 problems...

1) The latest paramiko is now 1.6.1, so if we want prefetching disabled,
we need to update the version test.
2) Why did we want to disable prefetch entirely? Just because readv
would be messed up by it?

Robey: Can you comment about prefetch support. It used to be disabled
for < 1.5.2 because there were bugs. I assume it has worked since then.

I will probably do a little bit of testing to see what effect prefetch
has. (I thought I was, until I dug deep enough to see this). My gut
feeling is that for readv() it would be a net loss, but for a plain
'get()' it would be good.

Anyway, I was just hoping to get clarification. From Robert: Do you want
to disable it completely? From Robey: Are there any known bugs with
prefetch that we should disable before a certain point?

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEu8kiJdeBCYSNAAMRAsOgAJ9T8XiX01YCugkrrAAEPxWhEU+QlQCfYDBY
6Z68hNoHfJDX0WUglYZu/8k=
=zR3p
-----END PGP SIGNATURE-----




More information about the bazaar mailing list