<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 13, 2014 at 2:49 AM, Ahmed Al -Ghafri <span dir="ltr"><<a href="mailto:al-ghafri@hotmail.com" target="_blank">al-ghafri@hotmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">

<p class="MsoNormal"><span lang="EN-US">Dear Juli,</span></p>

<p class="MsoNormal"><span lang="EN-US">I have made
a test to touch the performance of WANProxy in virtual environment; I use WANem
to emulate 128 Kbps <span> </span>and I noticed the
following:</span></p>

<p><span lang="EN-US"><span>-<span style="font:7.0pt "Times New Roman"">       </span></span></span><span dir="LTR"></span><span lang="EN-US">The caching technique seems to have a
significant issue where it doesn’t save the bits for long enough time; I tried
to download X file first time then directly download X for the second time and
the caching worked well. But when I download Y file after the first X download
and then try to download X again WANProxy goes to bring the file without using
the cache (the cached X bits no longer present).</span></p></div></div></blockquote><div>I'm sure this isn't true because right now the cache doesn't expire.  Can you provide more information about the client and server you were using, as well as the file you were testing with?  I can promise you the "cached bits" were still present :)  But with some protocols, there are other issues to consider, like whether the protocol uses compression that might change from one request to another, since WANProxy doesn't decompress e.g. HTTP message bodies.</div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">

<p><span lang="EN-US"><span>-<span style="font:7.0pt "Times New Roman"">       </span></span></span><span dir="LTR"></span><span lang="EN-US">Also I tried to download excel file for the
second time with little changes in some cells value in the excel sheet,
WANProxy doesn’t show a significant optimization and it downloaded the file
without consideration in the cached bits or at least most of file bits had been
re-downloaded , as it looks like?</span></p></div></div></blockquote><div>Again, file type matters a lot here.  Is this a modern Excel file, i.e. an xlsx file?  If so, those are just zipped directories, and while there's only a small change to the innermost file, WANProxy doesn't do any type-aware optimizations, as would be needed in this case, e.g. to unzip the files first and then deduplicate.  So you'd only get optimization if the ZIP files were exactly the same.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">

<p class="MsoNormal"><span lang="EN-US">What I
ended up for WANProxy is that it does caching for short time and not “true”
bit-level caching. Hope this was configuration related issue and can be fixed.</span></p></div></div></blockquote><div><br></div><div>I *think* it was the nature of the test that was probably the issue here, as the configurations for WANProxy look correct at a glance and your network diagram does, too.  We'll figure it out :)</div>

<div><br></div><div>Thanks,</div><div>Juli.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">

<p class="MsoNormal"><span lang="EN-US">Here are
the configurations (after help from WANProxy developer):</span></p>

<p class="MsoNormal"><span lang="EN-US">Clinet:</span></p>

<p class="MsoNormal"><span lang="EN-US">=======</span></p>

<p class="MsoNormal">create codec codec0</p>

<p class="MsoNormal">set codec0.codec XCodec</p>

<p class="MsoNormal">activate codec0</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">create interface if0 </p>

<p class="MsoNormal">set if0.family IPv4</p>

<p class="MsoNormal">set if0.host "192.168.4.1"<span>   </span>#ip of interface connected to client and
used to reach server</p>

<p class="MsoNormal">set if0.port "80"<span>  
</span>#port number which WANProxy listen to (you can select any port but use
the same port when connect from client)</p>

<p class="MsoNormal">activate if0</p>

<p class="MsoNormal">create peer peer0</p>

<p class="MsoNormal">set peer0.family IPv4</p>

<p class="MsoNormal">set peer0.host "192.168.1.2"<span>  </span>#ip of WANProxy server which set up in
WANProxy server configuration</p>

<p class="MsoNormal">set peer0.port "3301" #port of WANProxy server
which set up in WANProxy server configuration</p>

<p class="MsoNormal">activate peer0</p>

<p class="MsoNormal">create proxy proxy0</p>

<p class="MsoNormal">set proxy0.interface if0</p>

<p class="MsoNormal">set proxy0.interface_codec None<span>  </span>#for WANProxy<span> 
</span>client this set as None</p>

<p class="MsoNormal">set proxy0.peer peer0</p>

<p class="MsoNormal">set proxy0.peer_codec codec0<span> 
</span>#for WANProxy<span>  </span>client this set as
codec0<span lang="EN-US"></span></p>

<p class="MsoNormal">activate proxy0</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Server:</p>

<p class="MsoNormal">=======</p>

<p class="MsoNormal">create codec codec0</p>

<p class="MsoNormal">set codec0.codec XCodec</p>

<p class="MsoNormal">activate codec0</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">create interface if0</p>

<p class="MsoNormal">set if0.family IPv4</p>

<p class="MsoNormal">set if0.host "192.168.1.2" #Ip of WANProxy
interface connected to the server machine</p>

<p class="MsoNormal">set if0.port "3301" #port<span>  </span>explained in client </p>

<p class="MsoNormal">activate if0</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">create peer peer0</p>

<p class="MsoNormal">set peer0.family IPv4</p>

<p class="MsoNormal">set peer0.host "192.168.1.1" #ip address of the
server machine</p>

<p class="MsoNormal">set peer0.port "80"<span>   </span>#port number of the server machine</p>

<p class="MsoNormal">activate peer0</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">create proxy proxy0</p>

<p class="MsoNormal">set proxy0.interface if0</p>

<p class="MsoNormal">set proxy0.interface_codec codec0<span>  </span>#for WANProxy server<span>   </span>this set as codec0</p>

<p class="MsoNormal">set proxy0.peer peer0</p>

<p class="MsoNormal">set proxy0.peer_codec None<span> 
</span>#for WANProxy server<span>   </span>this set as
None</p>

<p class="MsoNormal">activate proxy0</p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">The network
diagram is here:</span></p>

<p class="MsoNormal"><span lang="EN-US"><a href="http://s18.postimg.org/w7wa1qibd/WANP_png.jpg" target="_blank">http://s18.postimg.org/w7wa1qibd/WANP_png.jpg</a></span></p>

                                          </div></div>
<br>_______________________________________________<br>
wanproxy mailing list<br>
<a href="mailto:wanproxy@lists.wanproxy.org">wanproxy@lists.wanproxy.org</a><br>
<a href="http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org" target="_blank">http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org</a><br>
<br></blockquote></div><br></div></div>