new web page
authorVictor Grishchenko (mughal) <victor.grishchenko@gmail.com>
Mon, 22 Feb 2010 08:35:08 +0000 (09:35 +0100)
committerVictor Grishchenko (mughal) <victor.grishchenko@gmail.com>
Mon, 22 Feb 2010 08:35:08 +0000 (09:35 +0100)
doc/index.html
doc/style.css
mfold/docmd
mfold/status.default.sh [new file with mode: 0644]

index 231af3d..65b69b1 100644 (file)
@@ -8,13 +8,17 @@
        <script src="http://code.jquery.com/jquery-latest.js"></script>
        <script>
        $(document).ready(function(){
+            $("div.fold>p, div.fold>ul, div.fold>div").hide("fast");
+            $("div.fold>h2, div.fold>h3, div.fold>h4").attr("bullet","closed");
                $("div.fold>h4, div.fold>h3, div.fold>h2").click(function () {
-                       $("div.fold>p, div.fold>ul, div.fold>div").hide("fast");
-               $(this).siblings().each(
-                               function(){
-                                       $(this).show("normal");
-                               }
-                       );
+                           $("div.fold>p, div.fold>ul, div.fold>div").hide("fast");
+                $("div.fold>h2, div.fold>h3, div.fold>h4").attr("bullet","closed");
+                $(this).attr("bullet","open");
+                   $(this).siblings().each(
+                                   function(){
+                                           $(this).show("normal");
+                                   }
+                           );
                });
        });
   </script>
        
     <div id='abstract'>
     <b>Abstract</b>.
-    &nbsp;<i>swift</i> is a multiparty transport protocol; its mission is to
+    Current Internet protocols are geared for 1:1 client/server
+    communication. We expanded the TCP/IP protocol suit with swarming.
+    Our protocol is designed to be capable of integration
+    into browsers / operating systems and able to serve 95% of current Internet
+    traffic.
+    <p>
+    <b>swift</b> is a multiparty transport protocol; its mission is to
     disseminate content among a swarm of peers. It is a sort of BitTorrent
-    at the transport layer. <a href="http://bittorrent.org">BitTorrent</a> can't
-    underlie a distributed filesystem or deliver Web pages; while
-    <a href="http://github.com/gritzko/swift/raw/master/doc/swift-protocol.txt">swift</a> can.
-    <a href="http://github.com/gritzko/swift">libswift</a>
-    is 4000 lines of cross-platform C++ code
-    licensed under LGPL; it runs on misc Unices, Mac OS X and Windows;
+    at the transport layer. We generalised the ideas of 
+    <a href="http://bittorrent.org">BitTorrent</a> to make it 
+    suitable for new usage areas such as distributed filesystems and
+    Web page delivery. The TCP+Bittorrent stack consists of
+    60<a href='http://en.wikipedia.org/wiki/Source_lines_of_code'>KSLoC</a>
+    + 90KSLoC respectively
+    (by <a href='http://www.dwheeler.com/sloccount/'>SLOCCount</a>).
+    With novel datastructures and refactoring we managed to implement 
+    <a href="http://github.com/gritzko/swift/raw/master/doc/swift-protocol.txt">swift</a>
+    in a mere 4KSLoC of cross-platform C++ code.
+    <a href="http://github.com/gritzko/swift">libswift</a> library
+    is licensed under LGPL; it runs on misc Unices, Mac OS X and Windows;
     it uses UDP with <a href="http://tools.ietf.org/wg/ledbat/">LEDBAT</a> congestion control.
-    So far our speed record is mere 400Mbps, but we are working on that.
+    Currently maximum throughput is 400Mbps, but we are
+    <a href='http://mughal.tribler.org:8080'>working on that</a>;
+    <!--going to 600 Mbps with further optimizations, and final--> our next target is 1 Gbps.
     The library is delivered as a part of <a href="http://p2p-next.org">P2P-Next</a>,
     funded by <a href="http://cordis.europa.eu/fp7/dc/index.cfm">EU FP7</a>.
     </div>
        </div>
 
 </body>
-</html>
\ No newline at end of file
+</html>
index 9575936..0cb5e37 100644 (file)
@@ -16,18 +16,18 @@ body > div {
        margin: auto;
        margin-top: 64px;
        margin-bottom: 64px;
-       #background: #d0e0ff;
+       /*background: #d0e0ff;*/
        background: rgba(208,224,255,0.9);
        padding-top: 16px;
        padding-bottom: 16px;
 }
 
 img#logo {
-       #display: block;
-    #margin-left: auto;
-    #margin-right: auto;
-       #position: relative;
-       #top: -40px;
+       /*display: block;
+    margin-left: auto;
+    margin-right: auto;
+       position: relative;
+       top: -40px;*/
        position:absolute;
        top: 4px;
 }
@@ -50,16 +50,19 @@ div#motto {
 
 div#abstract {
     letter-spacing: 0.06em;
-    #font-size: larger;
+    /*font-size: larger;*/
     font-style: italic;
     font-family: Georgia;
 }
 
 div.fold>h2, div.fold>h3, div.fold>h4 {
-       text-decoration: underline;
        cursor: pointer;
 }
 
-div.fold > p, div.fold > ul, div.fold > div {
-       display: none;
+[bullet='open']:before {
+    content: "⊟ ";
+}
+
+[bullet='closed']:before {
+    content: "⊞ ";
 }
index 87de81e..51c21f0 100755 (executable)
@@ -16,7 +16,8 @@ if [ ! -e $SHSC ]; then
     exit 0
 fi
 
-if ( cat $ENV $SHSC | ssh $HOST ) > logs/$HOST.$CMD.out 2> logs/$HOST.$CMD.err; then
+if ( (echo "HOST=$HOST"; cat $ENV $SHSC) | ssh $HOST ) > \
+    logs/$HOST.$CMD.out 2> logs/$HOST.$CMD.err; then
     echo $HOST  $CMD    OK
     exit 0
 else
diff --git a/mfold/status.default.sh b/mfold/status.default.sh
new file mode 100644 (file)
index 0000000..690e4ac
--- /dev/null
@@ -0,0 +1 @@
+echo -e $HOST"\t"`tail -1 swift/lerr`