Project

General

Profile

Actions

Support #2899

closed

a way to test array passing through tcptransport

Added by Anchi Cheng almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
08/15/2014
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.1.0

Description

A problem of slow image acquisition at OIST prompted me to find a way to test how long it takes for array data to pass the tcp transport mechanism we use.

Actions #1

Updated by Anchi Cheng over 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Anchi Cheng

Run this like test1.py and test2.py Test_Network_Connection_Between_Remote_and_Instrument_Computers

Edit ARRAY_SHAPE and ARRAY_DTYPE in test1_array_transport.py to the size of the array you want to test

The timing is displayed in test1_array_transport.py The time is not just for stream through the array but also all the overhead involved.

Typical time at NRAMM from Windows PC (a FEI support PC running XP) to a linux box (my developing machine) in the same room:

network speed GB/s ARRAY_SHAPE ARRAY_DTYPE time(s)
1.0 (4096,4096) numpy.uint32 1.5
1.0 (7676,7420) numpy.uint16 2.8
Useing localtransport, i.e. on the same linux computer, this is substantially faster.
N/A (4096,4096) numpy.uint32 0.6
Actions #2

Updated by Anchi Cheng over 6 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF