<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ok, less confused now - it IS 27500%! That's with me single-core
900Mhz machine. An i5 or i7 will have much better throughput me
thinks, at least the clocking...I would love to hear some
numbers...it is 13 Mbs now, in loopback; can we reach 50 Mbs?<br>
<br>
One known issue: when calling setsockopt: (squeak protocol is
Socket>>#setOption:value:, one of the values fails. Here is
the code where Iam calling this...<br>
<br>
ConnectionHandler>>#newListener<br>
| listener |<br>
<br>
self flag: #todo. "listener _ self socketClass newTCP."<br>
listener := Socket newTCP.<br>
listener setOption: 'SO_REUSEADDR' value: 1.<br>
listener setOption: 'SO_LINGER' value: 0.<br>
"backlog is how many simultaneous connections to accept at the
same time"<br>
listener listenOn: portNumber backlogSize: 10.<br>
^listener<br>
<br>
The stdout/stderr output from this call is:<br>
<br>
setsockopt: Invalid argument<br>
setsockopt: Invalid argument<br>
<br>
Note that I also refactored teh pipeline to eliminate a few calls,
change the protocol and rename some classes. I updated the diagram
at <a class="moz-txt-link-freetext" href="https://github.com/SqueakCryptographySquad/Mushroom/wiki">https://github.com/SqueakCryptographySquad/Mushroom/wiki</a>.<br>
<br>
There is now a version 5 of the SecureSession package in the
repository.<br>
<br>
Thanks,<br>
Robert<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/08/2015 08:33 AM, Robert Withers
wrote:<br>
</div>
<blockquote cite="mid:5666DC2A.1000700@gmail.com" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
Is that a 27,500% increase? I am a little confused.<br>
<br>
<div class="moz-cite-prefix">On 12/08/2015 08:07 AM, Robert
Withers wrote:<br>
</div>
<blockquote cite="mid:5666D627.9020703@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
Good morning,<br>
<br>
I managed to separate the SecureSession code out of Mushroom and
I have published it into the SqueakSource Cryptography
repository. Version 4 is this release, though I expect name
refactoring to occur, so just take the latest. This requires the
loading of Cryptography, though I did not set a package
dependency in Monticello for SecureSession. Should I?<br>
<br>
Note to Pharo: Please load version 37 of Cryptography.<br>
<br>
WARNING: the Performance test will fail without the crypto
plugins installed.<br>
<br>
<br>
Resulting performance data, with and without crypto
plugins...there is 275% increase in performance with crypto
plugins.<br>
<br>
With crypto plugins:<br>
<blockquote> 100 KB data chunks received: 10<br>
send time: 272 ms, rate: 3.676 MB/sec.<br>
receive time: 600 ms. rate: 1.667 MB/sec.<br>
</blockquote>
<br>
Without crypto plugins:<br>
<blockquote>100 KB data chunks received: 1<br>
send time: 8469 ms, rate: 0.012 MB/sec.<br>
receive time: 17233 ms. rate: 0.006 MB/sec.<br>
</blockquote>
Regards,<br>
Robert<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>