Collaboration network testbed: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{TOCright}}[[Category:Network]]
While the [[Mesh_OLPC_Testbed|OLPC Mesh Testbed]] is conveniently located in the same space used by OLPC for development and business activities, it suffers from an excess of unrelated wireless traffic. In order to allow repeatable testing of larger numbers of laptops, a larger testbed has been set up at another location in the Boston area, where the 802.11b spectrum is relatively unused.
While the [[Mesh_OLPC_Testbed|OLPC Mesh Testbed]] is conveniently located in the same space used by OLPC for development and business activities, it suffers from an excess of unrelated wireless traffic. In order to allow repeatable testing of larger numbers of laptops, a larger testbed has been set up at another location in the Boston area, where the 802.11b spectrum is relatively unused.


Line 10: Line 11:


The laptop developer keying, upgrading, and application installation is [[Peabody_Setup|done using USB keys]].
The laptop developer keying, upgrading, and application installation is [[Peabody_Setup|done using USB keys]].

<gallery>
Image:Collab_Network_Testbed_0101.JPG|The two rooms
Image:Collab_Network_Testbed_0099.JPG|Server/Monitoring Room
Image:Collab_Network_Testbed_0104.JPG|View into Front Room
Image:Collab_Network_Testbed_0103.JPG|Active Antennas
</gallery>


= Tests and Results =
= Tests and Results =


The tests are grouped according to the type of network used when they were performed: [[#Simple_Mesh|simple mesh]], a [[#School_Server_Mesh|mesh with a school server]], or [[#School_Server_WiFi|access points with a school server]].
The tests are grouped according to the type of network used when they were performed: [[Collab_Network_Simple_Mesh_Tests|simple mesh]], [[Collab_Network_Simple_Wifi_Tests|simple collaboration over managed WiFi]], a [[Collab_Network_School_Mesh_Tests|mesh with a school server]], or [[Collab_Network_School_Wifi_Tests|access points with a school server]].


All packet traces are in wireshark format, and contain beacon and link layer management frames as well as IP packets. They were obtained using <tt>tcpdump -i rtapX -w filename</tt>.
All packet traces are in wireshark format, and contain beacon and link layer management frames as well as IP packets. They were obtained using <tt>tcpdump -i rtapX -w filename</tt>.
Line 21: Line 29:
== Simple Mesh ==
== Simple Mesh ==


In these tests, the laptops are connected solely to one another, through the wireless mesh.
In these [[Collab_Network_Simple_Mesh_Tests|tests]], the laptops are connected solely to one another, through the wireless mesh. All presence and collaboration is Peer-to-Peer.


=== Startup ===
=== Startup ===
* [[Collab_Network_Simple_Mesh_Tests#Test_0317A|test 0317A]], 23 of 25 laptops join Simple Mesh

* [[Collab_Network_Simple_Mesh_Tests#Test_0331A|test 0331A]], 27 of 28 laptops join Simple Mesh
Startup is also frequently included in other tests, such as [[#Test_0321A|test 0321A]] and [[#Test_0321C|test 0321C]].
* [[Collab_Network_Simple_Mesh_Tests#Test_0321C|test 0321C]], 20 of 21 laptops join Simple Mesh

* [[Collab_Network_Simple_Mesh_Tests#Test_0331B|test 0331B]], [[Collab_Network_Simple_Mesh_Tests#Test_0331C|test 0331C]], 28 of 28 laptops join Simple Mesh
==== Test 0317A ====
* [[Collab_Network_Simple_Mesh_Tests#Test_0321A|test 0321A]], 10 of 10 laptops join Simple Mesh

=== Write sharing ===
'''Laptop Build:''' 699
* [[Collab_Network_Simple_Mesh_Tests#Test_0331A|test 0331A]], 28 laptops, 5 of 7 succeed at joining Write

* [[Collab_Network_Simple_Mesh_Tests#Test_0321B|test 0321B]], 10 laptops, 9 of 9 succeed at joining Write
This was a staged startup of laptops. The packet trace was started five minutes before starting to turn the laptops on. The laptops were turned on in groups of five, with each group allowed to enter simple mesh mode before starting the next group.
* [[Collab_Network_Simple_Mesh_Tests#Test_0317B|test 0317B]], 25 laptops, 7 of 10 succeed at joining Write

=== Read sharing ===
The first ten laptops (X50 - X59) came up without a problem, with all laptops able to see the others.
* [[Collab_Network_Simple_Mesh_Tests#Test_0331C|test 0331C]], 28 laptops, 0 of 5 succeed at joining Read

* [[Collab_Network_Simple_Mesh_Tests#Test_0321A|test 0321A]], 10 laptops, 0 of 2 succeed at joining Read
One laptop (X69) in the third group of laptops (X65 - X69) came up without joining a simple mesh ([http://dev.laptop.org/ticket/5848 Trac 5848]). A reboot fixed the problem.
=== Chat ===

* [[Collab_Network_Simple_Mesh_Tests#Test_0331B|test 0331B]], 28 laptops, 6 of 11 succeed at Chat
Another laptop (X73) in the fifth group of laptops (X70 - X74) came up with [http://dev.laptop.org/ticket/5848 Trac 5848] and had to be rebooted before joining the simple mesh.
* [[Collab_Network_Simple_Mesh_Tests#Test_0321C|test 0321C]], 21 laptops, 21 of 21 succeed at Chat

After rebooting two laptops, all 25 laptops (X50 - X74) could see the other 24 in their neighborhood view.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0317/t0317_A_1.dump Chan 1], [http://xs-dev.laptop.org/mesh/test0317/t0317_A_11.dump Chan 11], [http://xs-dev.laptop.org/mesh/test0317/t0317_A_6.dump Chan 6]

[[Collab_Network_Test_0317A|Discussion of packet traces]]

=== Write Sharing ===

==== Test 0321B ====

'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm + Write 55

This test started with 10 laptops (X50 - X59) in a simple mesh on channel 1 ([[#Test_0321A|test 0321A]] had just completed).

The Write activity was started on laptop X54, and shared with the neighborhood.
The shared activity was seen on all laptops.

Nine laptops joined the shared activity, almost simultaneously. All of the laptops correctly launched the application and mirrored the shared document. All laptops were able to type and have their characters appear on the other laptops. It was very slow, especially if any characters were erased on any laptop. But it worked!

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0321/t0321_B_1.dump Chan 1], [http://xs-dev.laptop.org/mesh/test0321/t0321_B_11.dump Chan 11], [http://xs-dev.laptop.org/mesh/test0321/t0321_B_6.dump Chan 6]

==== Test 0317B ====

'''Laptop Build:''' 699 + Write 55

This test started with 25 laptops (X50 - X74) in a simple mesh on channel 1.

The Write activity was started on laptop X69 (169.254.1.204), and shared with the neighborhood.

The shared activity was seen on 24 of 25 laptops (X70 not showing). After further shared activity, it was eventually seen by all 25 laptops.

Ten laptops joined the shared activity, almost simultaneously. Three of the ten laptops launched write, but never showed the contents of the write document. The other seven correctly mirrored the shared document.
The three laptops which failed to collaborate were X51 (169.254.5.153), X53 (169.254.2.7), and X54 (169.254.5.25).

More words were typed on X69, and were mirrored to the seven working laptops (no change in X51, X53, or X54).

Some words were typed on X59, and were correctly mirrored to the seven other collaborating laptops.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0317/t0317_B_1.dump Chan 1], [http://xs-dev.laptop.org/mesh/test0317/t0317_B_11.dump Chan 11], [http://xs-dev.laptop.org/mesh/test0317/t0317_B_6.dump Chan 6]

=== Read Sharing ===

==== Test 0321A ====

'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm + Read 44

This test booted up 10 laptops (X50 - X59). These laptops had been registered with a school server which was not present during the test. All laptops successfully joined the simple mesh on channel 1. All laptops saw one another in their neighborhood view.

The Read activity was started on laptop X59, using a small document (40 KB). The activity was then shared with the neighborhood. The shared activity was seen on all laptops.

An attempt to join the shared Read activity from one laptop (X58) failed. The activity launched, but the document was never displayed.

A later attempt to join the shared Read activity from another laptop (X57) failed. The activity launched, but the document was never displayed.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0321/t0321_A_1.dump Chan 1], [http://xs-dev.laptop.org/mesh/test0321/t0321_A_11.dump Chan 11], [http://xs-dev.laptop.org/mesh/test0321/t0321_A_6.dump Chan 6]

=== Chat Sharing ===

==== Test 0321C ====

'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm + Chat 35

This test booted up 21 laptops (X50 - X59, X61 - X72). These laptops had been registered with a school server which was not present during the test. Twenty of twenty-one laptops successfully joined the simple mesh on channel 1.

The failing laptop (X65) had no network circle in the home view ([http://dev.laptop.org/ticket/5848 Trac 5848]), and was rebooted after its logs were captured. It successfully joined the simple mesh. All laptops saw one another in their neighborhood view.

The Chat activity was started on laptop X59. The activity was then shared with the neighborhood (why does Chat have to be shared ? Is OLPC encouraging kids to Chat with themselves ?). Realized that this was done before laptop had joined simple mesh. Stopped activity.

Started Chat activity on laptop X59 again. The activity was then shared with the neighborhood. The shared activity was seen on all laptops.

An attempt to join the shared Chat activity from three laptops (X52, X53, X54) worked. A subsequent attempt to join with the remaining 17 laptops succeeded on all laptops.

All laptops were able to contribute to the conversation, and all laptops saw all characters typed on any laptop. Yahoo!

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0321/t0321_C_1.dump Chan 1], [http://xs-dev.laptop.org/mesh/test0321/t0321_C_11.dump Chan 11], [http://xs-dev.laptop.org/mesh/test0321/t0321_C_6.dump Chan 6]

'''Laptop X65 logs:''' [http://xs-dev.laptop.org/mesh/test0321/x65logs/ All], [http://xs-dev.laptop.org/mesh/test0321/x65logs/dmesg.log dmesg], [http://xs-dev.laptop.org/mesh/test0321/x65logs/messages /var/log/messages], [http://xs-dev.laptop.org/mesh/test0321/x65logs/nm/ .sugar/default/nm/], [http://xs-dev.laptop.org/mesh/test0321/x65logs/logs/ Telepathy/Sugar]



== School Server Mesh ==
== School Server Mesh ==


In these tests, a school server equipped with one to three active antennas provides the interconnection for the laptops. In general, the laptops are registered with the school server and using the school's presence service.
In these [[Collab_Network_School_Mesh_Tests|tests]], a [[School server]] equipped with one to three [[Active Antenna]] provides the interconnection for the laptops. In general, the laptops are registered with the school server and using the school's presence service.


=== Startup & Registration ===
=== Startup & Registration ===
* [[Collab_Network_School_Mesh_Tests#Test_0414A|test 0414A]] 28 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0414B|test 0414B]] 28 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0414D|test 0414D]] 28 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0323A|test 0323A]] 10 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0323B|test 0323B]] 10 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0323C|test 0323C]] 15 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0323D|test 0323D]] 10 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0323H|test 0323H]] 20 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0317D|test 0317D]] 29 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0317C|test 0317C]]
=== Presence ===
* [[Collab_Network_School_Mesh_Tests#Test_0321D|test 0321D]] 38 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0317E|test 0317E]] 29 laptops
=== Chat ===
* [[Collab_Network_School_Mesh_Tests#Test_0323E|test 0323E]] 15 laptops
=== Write sharing ===
* [[Collab_Network_School_Mesh_Tests#Test_0321E|test 0414C]] 20 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0321E|test 0414E]] 8 invites to another
* [[Collab_Network_School_Mesh_Tests#Test_0321E|test 0321E]]
=== Read sharing ===
* [[Collab_Network_School_Mesh_Tests#Test_0323F|test 0323F]] 10 laptops
* [[Collab_Network_School_Mesh_Tests#Test_0323G|test 0323G]] 10 laptops


=== Startup Problems (#5963) ===
Startup is also frequently included in other tests, such as Chat ([[#Test_0323E|test 0323E]]), or Presence ([[#Test_0321D|test 0321D]] and [[#Test_0317E|test 0317E]]).


This table summarizes the tests done in search of information on [http://dev.laptop.org/ticket/4153 Trac ticket 4153] ([http://dev.laptop.org/ticket/5963 Trac ticket 5963] is a duplicate), an inability to reliably DHCP upon startup that impacts other use of the mesh as well. The information listed after each test is the number of laptops involved in the test, how they were started up (simultaneously or staggered in some way), and the number that successfully managed to find a school portal.
==== Test 0323A ====


<table>
'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm
<tr><th>Test</th><th>Num. Laptops</th><th>Timing</th><th>Spacing</th><th>Success</th><th>Comments</th></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0323G|test 0323G]]</td><td>10</td><td>staged 5 sec</td><td>1 table</td><td>90%</td><td align=left></td></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0323H|test 0323H]]</td><td>20</td><td>staged 7.5 sec</td><td>2 tables</td><td>90%</td><td align=left>groups of 2, 15 sec apart</td></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0323E|test 0323E]]</td><td>15</td><td>staged 10 sec</td><td>spaced, 20 cm</td><td>87%</td><td align=left></td></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0323B|test 0323B]]</td><td>10</td><td>simul.</td><td>spaced</td><td>80%</td><td align=left></td></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0323F|test 0323F]]</td><td>10</td><td>simul.</td><td>1 table</td><td>80%</td><td align=left></td></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0317D|test 0317D]]</td><td>29</td><td>grouped</td><td>3 tables</td><td>76%</td><td align=left>3 groups of 10, 5 min. apart</td></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0323C|test 0323C]]</td><td>15</td><td>simul.</td><td>spaced, 30 cm.</td><td>73%</td><td align=left></td></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0317E|test 0317E]]</td><td>29</td><td>simul.</td><td>3 tables</td><td>72%</td><td align=left></td></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0323D|test 0323D]]</td><td>10</td><td>simul.</td><td>spaced, 60 cm.</td><td>60%</td><td align=left></td></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0321D|test 0321D]]</td><td>38</td><td>simul.</td><td>4 tables</td><td>60%</td><td align=left></td></tr>
<tr align=center><td>[[Collab_Network_School_Mesh_Tests#Test_0323A|test 0323A]]</td><td>10</td><td>simul.</td><td>1 table</td><td>60%</td><td align=left></td></tr>
</table>


'''School Server Build:''' 160 + 22.p6 Libertas firmware
== School Server WiFi ==


In these [[Collab_Network_School_Wifi_Tests|tests]], the laptops are connected to the [[School server]] through normal 802.11b/g access points. In general, the laptops are registered with the school server and using the school's presence service.
'''School Server Channels:''' 1

This test was a simultaneous startup of 10 laptops, located on a single 0.7m x 1.5m table. 4 out of the 10 had problems finding the school mesh portal.

Ten laptops (X50 - X59) were turned on sequentially, with around one second between each startup. Each laptop had previously been registered with the school server. Four of the ten laptops (X51, X52, X57, X59) did not find the school server mesh portal, and started a simple mesh instead.

The logging was conducted with three Active Antennas, separated by one meter, all on channel 1.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0323/t0323_A_1.dump Chan 1 (a)], [http://xs-dev.laptop.org/mesh/test0323/t0323_A_1b.dump Chan 1 (b)], [http://xs-dev.laptop.org/mesh/test0323/t0323_A_1c.dump Chan 1 (c)]

'''Laptop X59 logs:''' [http://xs-dev.laptop.org/mesh/test0323/0323Ax59logs/ All], [http://xs-dev.laptop.org/mesh/test0323/0323Ax59logs/dmesg.log dmesg], [http://xs-dev.laptop.org/mesh/test0323/0323Ax59logs/messages /var/log/messages], [http://xs-dev.laptop.org/mesh/test0323/0323Ax59logs/logs/ Telepathy/Sugar]

'''Server logs:''' [http://xs-dev.laptop.org/mesh/test0323/server_log /var/log/messages], [[Collab_Network_Test_Laptops|laptop list]]

==== Test 0323B ====

'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm

'''School Server Build:''' 160 + 22.p6 Libertas firmware

'''School Server Channels:''' 1

This test was a simultaneous startup of 10 laptops, which were spatially dispersed around a 2m x 3m space. 2 out of the 10 had problems finding the school mesh portal.

Ten laptops (X51, X52, X57, X59, X69, X63, X71, X73, X76, X79) were turned on sequentially, with around one second between each startup. Each laptop had previously been registered with the school server. Two of the ten laptops (X52, X76) did not find the school server mesh portal, and started a simple mesh instead.

The logging was conducted with three Active Antennas, separated by one meter, all on channel 1.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0323/t0323_B_1.dump Chan 1 (a)], [http://xs-dev.laptop.org/mesh/test0323/t0323_B_6.dump Chan 1 (b)], [http://xs-dev.laptop.org/mesh/test0323/t0323_B_11.dump Chan 1 (c)]

'''Laptop X52 logs:''' [http://xs-dev.laptop.org/mesh/test0323/0323Bx52logs/ All], [http://xs-dev.laptop.org/mesh/test0323/0323Bx52logs/dmesg.log dmesg], [http://xs-dev.laptop.org/mesh/test0323/0323Bx52logs/messages /var/log/messages], [http://xs-dev.laptop.org/mesh/test0323/0323Bx52logs/logs/ Telepathy/Sugar]

'''Server logs:''' [http://xs-dev.laptop.org/mesh/test0323/server_log /var/log/messages], [[Collab_Network_Test_Laptops|laptop list]]

==== Test 0323C ====

'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm

'''School Server Build:''' 160 + 22.p6 Libertas firmware

'''School Server Channels:''' 1

This test was a simultaneous startup of 15 laptops, which were spatially evenly dispersed around a 2m x 3m space, with no laptops closer than 30 cm. to another unit in the test. 4 out of the 15 had problems finding the school mesh portal.

Fifteen laptops (X50, X52, X54, X56, X58, X62, X63, X65, X67, X69, X70, X72, X74, X77, X79) were turned on sequentially, with around one second between each startup. Each laptop had previously been registered with the school server. Four of the ten laptops (X54, X67, X69, X77) did not find the school server mesh portal, and started a simple mesh instead.

After the test was started, it was noticed that X57 (adjacent to X54 and X67) had been left sleeping instead of powered off, invalidating the even dispersion assumption of this test.

The logging was conducted with three Active Antennas, separated by one meter, all on channel 1.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0323/t0323_C_1.dump Chan 1 (a)], [http://xs-dev.laptop.org/mesh/test0323/t0323_C_6.dump Chan 1 (b)], [http://xs-dev.laptop.org/mesh/test0323/t0323_C_11.dump Chan 1 (c)]

'''Server logs:''' [http://xs-dev.laptop.org/mesh/test0323/server_log /var/log/messages], [[Collab_Network_Test_Laptops|laptop list]]

==== Test 0323D ====

'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm

'''School Server Build:''' 160 + 22.p6 Libertas firmware

'''School Server Channels:''' 1

This test was a simultaneous startup of 10 laptops, which were spatially evenly dispersed around a 5m x 5m space, with no laptops closer than 60 cm. to another unit in the test. 4 out of the 10 had problems finding the school mesh portal.

Ten laptops (X52, X55, X59, X62, X64, X65, X69, X70, X76, X78) were turned on sequentially, with around two seconds between each startup. Each laptop had previously been registered with the school server. Four of the ten laptops (X65, X69, X70, X78) did not find the school server mesh portal, and started a simple mesh instead.

For this test, the table containing X60 - X69 was moved outside the room where it is shown in the test diagram. The school server antenna was located in the center of the space, about 1.5 m over the plane containing the laptops.

The logging was conducted with three Active Antennas, separated by one meter, all on channel 1.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0323/t0323_D_1.dump Chan 1 (a)], [http://xs-dev.laptop.org/mesh/test0323/t0323_D_6.dump Chan 1 (b)], [http://xs-dev.laptop.org/mesh/test0323/t0323_D_11.dump Chan 1 (c)]

'''Laptop X70 logs:''' [http://xs-dev.laptop.org/mesh/test0323/0323Dx70logs/ All], [http://xs-dev.laptop.org/mesh/test0323/0323Dx70logs/dmesg.log dmesg], [http://xs-dev.laptop.org/mesh/test0323/0323Dx70logs/messages /var/log/messages], [http://xs-dev.laptop.org/mesh/test0323/0323Dx70logs/logs/ Telepathy/Sugar]

'''Server logs:''' [http://xs-dev.laptop.org/mesh/test0323/server_log /var/log/messages], [[Collab_Network_Test_Laptops|laptop list]]

==== Test 0317D ====

'''Laptop Build:''' 699

'''School Server Build:''' 160

'''School Server Channels:''' 1

This test was a staged registration of 29 laptops. 7 out of the 29 had problems finding the school mesh portal. Once they found the portal, all of the laptops registered on the first try.

Ten laptops (X50 - X59) were turned on first. They all found the school server mesh portal. They were registered, the registration verified (on the Home Screen) and Sugar restarted using CTL-ALT-ERASE.

Another ten laptops (X61 - X70) were turned on. Four (X62, X64, X65, and X68) didn't find the school mesh portal, and joined a simple mesh on channel 1 ([http://dev.laptop.org/ticket/5963 Trac 5963]). Clicking on mesh channel 1 in the neighborhood view caused three of the laptops to find the school mesh portal, and trying twice worked on the fourth (X65).

Another nine laptops (X71 - X79) were turned on. Three of these didn't find the school mesh portal ([http://dev.laptop.org/ticket/5963 Trac 5963]), but all three found it on the first manual retry.

All of the laptop registered on the first try, but registration wasn't simultaneous.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0317/t0317_D_1.dump Chan 1], [http://xs-dev.laptop.org/mesh/test0317/t0317_D_11.dump Chan 11], [http://xs-dev.laptop.org/mesh/test0317/t0317_D_6.dump Chan 6]

==== Test 0317C ====

'''Laptop Build:''' 699

'''School Server Build:''' 160

'''School Server Channels:''' 1

This test was supposed to be a staged registration of laptops. It was aborted after three (X52 - X54) of the first five laptops (X50 - X54) to be turned on couldn't find a school mesh portal and instead joined a simple mesh.

The school server active antenna had been placed on the same plane as the laptops (at 1 m from the floor). The antenna was moved to about 2 m off the floor, and the test repeated as [[#Test_0317D|0317D]].

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0317/t0317_C_1.dump Chan 1], [http://xs-dev.laptop.org/mesh/test0317/t0317_C_11.dump Chan 11], [http://xs-dev.laptop.org/mesh/test0317/t0317_C_6.dump Chan 6]


=== Presence ===
=== Presence ===
* [[Collab_Network_School_Wifi_Tests#Test_0410A|test 0410A]], 76 laptops startup, 13 failed to associate, another 17 had problems
* [[Collab_Network_School_Wifi_Tests#Test_0410B|test 0410B]], 50 laptops startup, all associated, 8 had presence problems, others missing neighbors
* [[Collab_Network_School_Wifi_Tests#Test_0410C|test 0410C]], 50 laptops startup, 2 failed to associate, 6 had presence problems, others missing neighbors
* [[Collab_Network_School_Wifi_Tests#Test_0410D|test 0410D]], 49 laptops startup + BW hog, 5 failed to associate, 6 had presence problems
* [[Collab_Network_School_Wifi_Tests#Test_0408B|test 0408B]], 38 laptops staged startup, no problems
* [[Collab_Network_School_Wifi_Tests#Test_0408F|test 0408F]], 77 laptops startup, 6 didn't associate
* [[Collab_Network_School_Wifi_Tests#Test_0331G|test 0331G]], poor AP, 28 laptops startup, pure chaos
* [[Collab_Network_School_Wifi_Tests#Test_0323J|test 0323J]], poor AP
* [[Collab_Network_School_Wifi_Tests#Test_0323K|test 0323K]], poor AP
=== Write sharing ===
* [[Collab_Network_School_Wifi_Tests#Test_0410F|test 0410F]], 50 laptops + BW hog, 40 successfully sharing Write and Chat
* [[Collab_Network_School_Wifi_Tests#Test_0331H|test 0331H]], poor AP, 24 laptops, no collaboration
=== Read sharing ===


==== Test 0321D ====
=== Chat ===
* [[Collab_Network_School_Wifi_Tests#Test_0410E|test 0410E]], 50 laptops + BW hog, 49 successfully sharing Chat
* [[Collab_Network_School_Wifi_Tests#Test_0408C|test 0408C]], 78 laptops, 75 successfully sharing Chat


== Simple WiFi ==
'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm


In these [[Collab_Network_Simple_Wifi_Tests|tests]], the laptops are connected to one another and the Internet, through a normal 802.11b/g access point. All presence and collaboration is Peer-to-Peer.
'''School Server Build:''' 160 + 22.p6 Libertas firmware

'''School Server Channels:''' 1

This test was a simultaneous booting up of 29 registered laptops and 9 unregistered ones. 15 out of the 38 had problems finding the school mesh portal ([http://dev.laptop.org/ticket/4153 Trac 4153], [http://dev.laptop.org/ticket/5963 5963]). Most found the mesh portal after the mesh 1 circle in the neighborhood view was clicked on, but three (X71, X92, X96) required a reboot. Once they found the portal, all of the unregistered laptops registered on the first try and all connected using gabble.

29 of the laptops (X50 - X59, X61 - X79) had previously been registered with the school server (and the school ejabberd server). They were upgraded to have telepathy-salut-0.2.3-1.olpc2.i386.rpm and all logs (libertas, telepathy, sugar) turned on. Another nine unregistered laptops (X90 - X98) were used without the upgraded telepathy-salut. Salut shouldn't be used when connected to a school server, so no difference was expected.
They were all turned on within a ninety second period, starting with X50 and moving up.

23 of the 38 laptops found the school server mesh portal. The ones that didn't ([http://dev.laptop.org/ticket/4153 Trac 4153], [http://dev.laptop.org/ticket/5963 5963]) were X53, X54, X58, '''X59''', X64, '''X71''', X73, X74, X76, X77, X79, X91, X92, X95, and X96. Note less correlation with startup time than seen in [[#Test_0317E|Test 0317E]].

Twelve of the failing laptops found the school mesh portal after clicking on mesh channel 1 in the neighborhood view. Three of the failing laptops (X71, X92, and X96) didn't find it after two clicks, but did find it immediately upon reboot.

Two of the laptops (X91 aka 00:17:C4:11:14:5D aka 172.18.10.236, and X92 aka 00:17:C4:0D:14:54 aka 172.18.11.234) entered a weird state after having Sugar rebooted to force an ejabberd registration after a registration of the laptop with the school server. Unfortunately, no logs were obtained and the problem disappeared on reboot. More details later...

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0321/t0321_D_1.dump Chan 1], [http://xs-dev.laptop.org/mesh/test0321/t0321_D_11.dump Chan 11], [http://xs-dev.laptop.org/mesh/test0321/t0321_D_6.dump Chan 6]

'''Laptop X59 logs:''' [http://xs-dev.laptop.org/mesh/test0321/x59logs/ All], [http://xs-dev.laptop.org/mesh/test0321/x59logs/dmesg.log dmesg], [http://xs-dev.laptop.org/mesh/test0321/x59logs/messages /var/log/messages], [http://xs-dev.laptop.org/mesh/test0321/x59logs/logs/ Telepathy/Sugar]

'''Laptop X71 logs:''' [http://xs-dev.laptop.org/mesh/test0321/x71logs/ All], [http://xs-dev.laptop.org/mesh/test0321/x71logs/dmesg.log dmesg], [http://xs-dev.laptop.org/mesh/test0321/x71logs/messages /var/log/messages], [http://xs-dev.laptop.org/mesh/test0321/x71logs/logs/ Telepathy/Sugar]

'''Server logs:''' [http://xs-dev.laptop.org/mesh/test0321/x71_server_log /var/log/messages], [http://xs-dev.laptop.org/mesh/test0321/school_list output of school_who], [[Collab_Network_Test_Laptops|laptop list]]

[[Collab_Network_Test_0321D|Discussion of Packet Traces]]

==== Test 0317E ====

'''Laptop Build:''' 699

'''School Server Build:''' 160

'''School Server Channels:''' 1

This test was a simultaneous booting up of 29 registered laptops. 8 out of the 29 had problems finding the school mesh portal ([http://dev.laptop.org/ticket/5963 Trac 5963]). Once they found the portal, all of the laptops connected using gabble (although three had to have sugar restarted before they would display neighbors properly.)

All 29 laptops (X50 - X59, X61 - X79) had previously been registered with the school server (and the school ejabberd server). They were turned on within a sixty second period, starting with X50 and moving up.

21 of the 29 laptops found the school server mesh portal. The ones that didn't ([http://dev.laptop.org/ticket/5963 Trac 5963]) were X57, X65, X68, X70, X72, X75, X78, and X79. Note that these were the last ones turned on!

All 8 failing laptops found the school mesh portal after clicking on mesh channel 1 in the neighborhood view.
Three of the failing laptops (X65, X68, and X75) didn't show other laptops in their neighborhood view until Sugar was restarted. They were not running salut instead of gabble (they didn't show each other), instead they didn't show any other XOs at all.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0317/t0317_E_1.dump Chan 1], [http://xs-dev.laptop.org/mesh/test0317/t0317_E_11.dump Chan 11], [http://xs-dev.laptop.org/mesh/test0317/t0317_E_6.dump Chan 6]

'''Server logs:''' [http://xs-dev.laptop.org/mesh/test0317/server_log /var/log/messages], [http://xs-dev.laptop.org/mesh/test0321/school_list later output of school_who]

[[Collab_Network_Test_0317E|Discussion of Packet Traces]]


=== Chat ===
=== Chat ===
* [[Collab_Network_Simple_Wifi_Tests#Test_0331D|Test 0331D]], 28 laptops, 9 of 10 successful
=== Write sharing ===
* [[Collab_Network_Simple_Wifi_Tests#Test_0331E|Test 0331E]], 28 laptops, 5 of 10 successful
* [[Collab_Network_Simple_Wifi_Tests#Test_0330A|Test 0330A]], Two laptops, 2 of 2 successful
* [[Collab_Network_Simple_Wifi_Tests#Test_0330C|Test 0330C]], Three laptops, 3 of 3 successful
* [[Collab_Network_Simple_Wifi_Tests#Test_0330D|Test 0330D]], Six laptops, 6 of 6 successful
=== Measure ===
* [[Collab_Network_Simple_Wifi_Tests#Test_0330B|Test 0330B]], Two laptops, successful
===Read sharing===
* [[Collab_Network_Simple_Wifi_Tests#Test_0331F|Test 0331F]], 28 laptops, 440 KB file, 1.5 of 4 successful
* [[Collab_Network_Simple_Wifi_Tests#Test_0330E|Test 0330E]], Six laptops, 2.2 MB file, 0 of 6 successful
* [[Collab_Network_Simple_Wifi_Tests#Test_0330F|Test 0330F]], Six laptops, 40 KB file, 5 of 6 successful
* [[Collab_Network_Simple_Wifi_Tests#Test_0330G|Test 0330G]], Six laptops, 440 KB file, 6 of 6 successful
* [[Collab_Network_Simple_Wifi_Tests#Test_0330H|Test 0330H]], Six laptops, 440 KB file, 6 of 6 successful


==== Test 0323E ====
== Jabber Scaling ==


In these [[Collab_Network_Jabber_Scaling_Tests|tests]], the laptops are connected to one school server via the Internet. There is no local RF contention. This isolates the Jabber server and can be performed by many isolated individuals.
'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm + Chat 35


=== Server health ===
'''School Server Build:''' 160 + 22.p6 Libertas firmware


=== Presence ===
'''School Server Channels:''' 1


=== Chat sharing ===
This test was a staggered startup of 15 laptops, which were spatially evenly dispersed around a 5m x 5m space, with no laptops closer than 20 cm. to another unit in the test. 2 out of the 15 had problems finding the school mesh portal. Then another 22 laptops were turned on slowly, and a chat session between nine of the thirty-seven laptops was tested. It worked fine.


=== Write sharing ===
Fifteen laptops (X50, X52, X54, X56, X58, X62, X63, X64, X65, X69, X70, X72, X74, X77, X79) were turned on sequentially, with around ten seconds between each startup. Each laptop had previously been registered with the school server. Two of the ten laptops (X56 and X58) did not find the school server mesh portal, and started a simple mesh instead.


=== Read sharing ===
The two failing laptops immediately joined the mesh when mesh channel 1 was clicked on in the neighborhood view. It took up to two minutes for the neighborhood view to reflect the newfound connection to a school server.


=== Record sharing ===
After a minute, another twenty-two laptops (others from X50 - X79 and X90 - X98) were turned on sequentially, with around ten seconds between each startup. Another four or five laptops failed to find the school mesh portal, but found it after restarting the network association process by clicking on mesh channel 1 in the neighborhood view.

Chat was started on laptop X65, and it was shared with the neighborhood.

In 60 sec, 31 laptops were showing the shared activity on their neighborhood view. The ones which didn't included X59, X63, X93, and X96). (Trac ticket ?, logs attached)

The Chat activity was joined sequentially, with around two seconds between join, by laptops X62, X64, X66 - X69, X54, and X74. All laptops successfully joined, and were able to type and have it seen by all other participants.

For this test, the table containing X60 - X69 was moved outside the room where it is shown in the test diagram. The school server antenna was located in the center of the space, about 1.5 m over the plane containing the laptops. The logging was conducted with three Active Antennas, separated by one meter, all on channel 1.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0323/t0323_E_1.dump Chan 1 (a)], [http://xs-dev.laptop.org/mesh/test0323/t0323_E_6.dump Chan 1 (b)], [http://xs-dev.laptop.org/mesh/test0323/t0323_E_11.dump Chan 1 (c)]

'''Laptop X59 logs:''' [http://xs-dev.laptop.org/mesh/test0323/0323Fx59logs/ All], [http://xs-dev.laptop.org/mesh/test0323/0323Fx59logs/dmesg.log dmesg], [http://xs-dev.laptop.org/mesh/test0323/0323Fx59logs/messages /var/log/messages], [http://xs-dev.laptop.org/mesh/test0323/0323Fx59logs/logs/ Telepathy/Sugar]

'''Server logs:''' [http://xs-dev.laptop.org/mesh/test0323/server_log /var/log/messages], [[Collab_Network_Test_Laptops|laptop list]]

=== Write Sharing ===

==== Test 0321E ====

'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm + Write 55

'''School Server Build:''' 160 + 22.p6 Libertas firmware

'''School Server Channels:''' 1

This test started with 37 students connected to a school server (subsequent to [[#Test_0321D|test 0321D]]). All were registered with the server and using Telepathy-Gabble. All students could see one another in their neighborhood views.

Started Write activity on X69 aka 00:17:c4:0d:00:01 aka 172.18.10.248. Shared the activity with the neighborhood. It was seen by all students.

The activity was successfully joined by five students (X70 - X74).

Started another Write activity on X58. Shared the activity with the neighborhood. It was seen by all students.

This second activity was successfully joined by five students (X61 - X65).

Characters were typed by X69 through X74, they were all seen by all activity participants.

Typed on X61 and crashed write. The first character typed was successfully sent to all laptops. I was frustratingly unable to get the logs as the keyboard had a stuck CTL key !!!

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0321/t0321_E_1.dump Chan 1], [http://xs-dev.laptop.org/mesh/test0321/t0321_E_11.dump Chan 11], [http://xs-dev.laptop.org/mesh/test0321/t0321_E_6.dump Chan 6]

=== Read Sharing ===

==== Test 0323F ====

'''Laptop Build:''' 699 + telepathy-salut-0.2.3-1.olpc2.i386.rpm + Read 44

'''School Server Build:''' 160 + 22.p6 Libertas firmware

'''School Server Channels:''' 1

This test was a simultaneous startup of 10 laptops, which were located on a 0.7m x 1.5m table. 2 out of the 10 had problems finding the school mesh portal. All were successfully registered, then a read activity was successfully shared to all laptops.

Ten laptops (X20 - X29) were turned on sequentially, with around one seconds between each startup. None of the laptops had previously been registered with the school server. Two of the ten laptops (X27 and X28) did not find the school server mesh portal, and started a simple mesh instead.

X20 - X26 and X29 were registered with the school server (all within a second), and Sugar was restarted.

X27 and X28 associated immediately with the school mesh portal when mesh channel 1 was clicked on. They too registered immediately and had Sugar restarted.

All laptops saw all other laptops in their neighborhood view.

A PDF document (VGA Pinout, about 40 KB), stored on laptop X25, was opened using Read. The activity was shared with the neighborhood. The shared activity was seen by all laptops.

The shared Read activity was joined by X26, and worked! X27, X28, and X29 then joined within a couple of seconds of each other. They too were successful (although it took around a minute for X29 to load the document). Finally, laptops X20 - X24 joined. All successfully loaded the shared document.

The logging was conducted with three Active Antennas, separated by one meter, all on channel 1.

'''Packet Traces:''' [http://xs-dev.laptop.org/mesh/test0323/t0323_F_1.dump Chan 1 (a)], [http://xs-dev.laptop.org/mesh/test0323/t0323_F_6.dump Chan 1 (b)], [http://xs-dev.laptop.org/mesh/test0323/t0323_F_11.dump Chan 1 (c)]

'''Server logs:''' [http://xs-dev.laptop.org/mesh/test0323/server_log /var/log/messages], [[Collab_Network_Test_Laptops|laptop list]]

== School Server WiFi ==


=== Browse sharing ===
In these tests, the laptops are connected to the school server through normal 802.11b/g access points.


[[Category:Collaboration]]
Sorry, no such tests have been performed yet at this facility.

Latest revision as of 21:51, 3 September 2009

While the OLPC Mesh Testbed is conveniently located in the same space used by OLPC for development and business activities, it suffers from an excess of unrelated wireless traffic. In order to allow repeatable testing of larger numbers of laptops, a larger testbed has been set up at another location in the Boston area, where the 802.11b spectrum is relatively unused.

Test Setup

At this location, we currently have a hundred laptops and a school server, along with a separate packet recording machine. Ten laptops are grouped together on each 1.5 m by 0.7 m table. We hope to grow to at least a hundred and fifty laptops over time.

PeabodyAnnex.png

While we will eventually provide remote automated control of large portions of the testing, we are currently performing tests manually.

The laptop developer keying, upgrading, and application installation is done using USB keys.

Tests and Results

The tests are grouped according to the type of network used when they were performed: simple mesh, simple collaboration over managed WiFi, a mesh with a school server, or access points with a school server.

All packet traces are in wireshark format, and contain beacon and link layer management frames as well as IP packets. They were obtained using tcpdump -i rtapX -w filename.

More specifically, interfaces are configured to the appropriate channels at boot time via ifcfg_ethX files in /etc/sysconfig/network-scripts/ (eth1 to channel 1, eth2 to channel 11, and eth3 to channel 6). There is a script, setup_snoop, for setting up the interfaces which is run once after boot. Another, do_snoop, is used to start logging. Logging is stopped with sudo killall tcpdump

Simple Mesh

In these tests, the laptops are connected solely to one another, through the wireless mesh. All presence and collaboration is Peer-to-Peer.

Startup

Write sharing

  • test 0331A, 28 laptops, 5 of 7 succeed at joining Write
  • test 0321B, 10 laptops, 9 of 9 succeed at joining Write
  • test 0317B, 25 laptops, 7 of 10 succeed at joining Write

Read sharing

  • test 0331C, 28 laptops, 0 of 5 succeed at joining Read
  • test 0321A, 10 laptops, 0 of 2 succeed at joining Read

Chat

School Server Mesh

In these tests, a School server equipped with one to three Active Antenna provides the interconnection for the laptops. In general, the laptops are registered with the school server and using the school's presence service.

Startup & Registration

Presence

Chat

Write sharing

Read sharing

Startup Problems (#5963)

This table summarizes the tests done in search of information on Trac ticket 4153 (Trac ticket 5963 is a duplicate), an inability to reliably DHCP upon startup that impacts other use of the mesh as well. The information listed after each test is the number of laptops involved in the test, how they were started up (simultaneously or staggered in some way), and the number that successfully managed to find a school portal.

TestNum. LaptopsTimingSpacingSuccessComments
test 0323G10staged 5 sec1 table90%
test 0323H20staged 7.5 sec2 tables90%groups of 2, 15 sec apart
test 0323E15staged 10 secspaced, 20 cm87%
test 0323B10simul.spaced80%
test 0323F10simul.1 table80%
test 0317D29grouped3 tables76%3 groups of 10, 5 min. apart
test 0323C15simul.spaced, 30 cm.73%
test 0317E29simul.3 tables72%
test 0323D10simul.spaced, 60 cm.60%
test 0321D38simul.4 tables60%
test 0323A10simul.1 table60%

School Server WiFi

In these tests, the laptops are connected to the School server through normal 802.11b/g access points. In general, the laptops are registered with the school server and using the school's presence service.

Presence

  • test 0410A, 76 laptops startup, 13 failed to associate, another 17 had problems
  • test 0410B, 50 laptops startup, all associated, 8 had presence problems, others missing neighbors
  • test 0410C, 50 laptops startup, 2 failed to associate, 6 had presence problems, others missing neighbors
  • test 0410D, 49 laptops startup + BW hog, 5 failed to associate, 6 had presence problems
  • test 0408B, 38 laptops staged startup, no problems
  • test 0408F, 77 laptops startup, 6 didn't associate
  • test 0331G, poor AP, 28 laptops startup, pure chaos
  • test 0323J, poor AP
  • test 0323K, poor AP

Write sharing

  • test 0410F, 50 laptops + BW hog, 40 successfully sharing Write and Chat
  • test 0331H, poor AP, 24 laptops, no collaboration

Read sharing

Chat

  • test 0410E, 50 laptops + BW hog, 49 successfully sharing Chat
  • test 0408C, 78 laptops, 75 successfully sharing Chat

Simple WiFi

In these tests, the laptops are connected to one another and the Internet, through a normal 802.11b/g access point. All presence and collaboration is Peer-to-Peer.

Chat

Write sharing

Measure

Read sharing

  • Test 0331F, 28 laptops, 440 KB file, 1.5 of 4 successful
  • Test 0330E, Six laptops, 2.2 MB file, 0 of 6 successful
  • Test 0330F, Six laptops, 40 KB file, 5 of 6 successful
  • Test 0330G, Six laptops, 440 KB file, 6 of 6 successful
  • Test 0330H, Six laptops, 440 KB file, 6 of 6 successful

Jabber Scaling

In these tests, the laptops are connected to one school server via the Internet. There is no local RF contention. This isolates the Jabber server and can be performed by many isolated individuals.

Server health

Presence

Chat sharing

Write sharing

Read sharing

Record sharing

Browse sharing