digitalsputnik / DS-Voyager-controller

Application to control Digital Sputnik Voyager lights
0 stars 0 forks source link

[Benchmark] Wireshark capture 100x4ft voyager, 20 sec capture - White video #407

Open Olenjan opened 4 years ago

Olenjan commented 4 years ago

Wireshark capture of 100x4ft voyager Captured for 20 second All lamps added after capture was started.

pcapng file compressed: 100 lamp cap 20 sec white, just add.zip

Olenjan commented 4 years ago

video pikkus + 2 sekundit

20 sec cap white analysis

port 30001

udp.port == 30001 && udp contains "set_play_mode" 96(0.5%)

udp.port == 30001 && udp contains "set_global_intensity" 4656(26.3%)

udp.port == 30001 && udp contains "dmx_mode_request" 1920 (10.9%)

udp.port == 30001 && udp contains "dmx_mode_response" 1864(10.5%)

udp.port == 30001 && udp contains "set_fps" && data.len == 125 || data.len == 124 1520(8.6%)

udp.port == 30001 && udp contains "set_video" (collection) 1632(9.2%) saatis ka poole peal

udp.port == 30001 && udp contains "missing_frames_request" 1248(7.1%)

udp.port == 30001 && udp contains "missing_frames_response" 1051(5.9%)

udp.port == 30002 1585(9.0%)

100 lampi, 6 frame per lamp = 600 frame

All packets filtered: udp.port == 30001 && !(udp contains "missing_frames_response") && !(udp contains "missing_frames_request") && !(udp contains "set_video") &&!(udp contains "set_fps") &&!(udp contains "dmx_mode_request") && !(udp contains "dmx_mode_response")&& !(udp contains "set_play_mode")&& !(udp contains "set_global_intensity")

Olenjan commented 4 years ago

Previous captures were from Dell XPS 13 i7 Laptop

Olenjan commented 4 years ago

Captured from My Work PC 96x4ft 30 sec fire cap (100% render).zip post_render 5 sec cap.zip 96x4ft 20 sec cap.zip

Olenjan commented 4 years ago

Analysis of 96x4ft 30 sec fire cap (100% render)

udp.port == 30001 && udp contains "set_play_mode" 290(0.5%)

udp.port == 30001 && udp contains "set_global_intensity" 4657(8.1%)

udp.port == 30001 && udp contains "dmx_mode_request" 3377(5.9%)

udp.port == 30001 && udp contains "dmx_mode_response" 3419(6%)

udp.port == 30001 && udp contains "set_fps" &&( data.len == 125 || data.len == 124) 1048(1.8%)

udp.port == 30001 && udp contains "set_video" (collection) 3456(6%)

udp.port == 30001 && udp contains "missing_frames_request" 482(0.8%)

udp.port == 30001 && udp contains "missing_frames_response" 483(0.8%)

udp.port == 30002 33653(58.7%)

300 96 = 300 96 = 28800

Frame packet resent of about 16% Wait better than on Laptop

Olenjan commented 4 years ago

Analysis of post_render 5 sec cap

Total 635.5 packets per second Bytes/s = 210kb

udp.port == 30001 && (udp contains "missing_frames_response" || udp contains "set_video") 23.5% of all packets post rendering 152.4 packets per sec bytes/s = 105kb

One example of set_video

{
  "handle_timestamp": 0.0,
  "serial": "DS0264000501185",
  "op_code": "collection",
  "timestamp": -920732532609.39111,
  "packets": [
    {
      "handle_timestamp": 0.0,
      "serial": "DS0264000501185",
      "op_code": "set_video",
      "timestamp": -920732532609.39111,
      "frame_count": 8,
      "start_time": -920732532622.06018
    },
    {
      "handle_timestamp": 0.0,
      "serial": "DS0264000501185",
      "op_code": "set_fps",
      "timestamp": -920732532609.39111,
      "fps": 24
    },
    {
      "handle_timestamp": 0.0,
      "serial": "DS0264000501185",
      "op_code": "set_itshe",
      "timestamp": -920732532609.39111,
      "itshe": {
        "i": 0.5,
        "t": 0.482352942,
        "s": 0.0,
        "h": 0.0,
        "e": 1.0
      }
    }
  ]

One example of missing_frame_response for same lamp {"serial": "DS0264000501185", "op_code": "missing_frames_response", "video_uid": -920732532609.3911, "timestamp": 1455405590.279614, "indices": []}

image

Olenjan commented 4 years ago

Rendering Fire effect takes for 96x4ft voyagers takes a lot of processing power

CPU: up to 48% Memory 400MB GPU: 29%

PC Specs: i7-6600K 16GB memory GTX950

Olenjan commented 4 years ago

1 minute video upload benchmarks

Jan's PC

Benchmark 1 1 min = 86% 1 min 30 sec = 89% 2 min = 93 2 min 30 sec = 99% 2 min 43 sec = 100%

Benchmark 2 1 min = 84%

1 min 30 sec = 89 2 min = 93% 2 min 30 sec = 98%

2 min 44 sec = 100%

Benchmark 3 1 min = 84%

100% = 2 min 41 sec

Mari laptop 100% = 5 min 10 sec

Mari laptop without rendering frames, only color change: ~1 minute.

marirohtla commented 4 years ago

Santa MabBook PRO 1min = 56% 100% = 4 min 38sec Color Wheel change (without rendering) ~55 sec

marirohtla commented 4 years ago

Mari Macbook PRO VIDEO 1 - Loading (1min) video - RENDERING VIDEO 2 - Changing ColorWheel - RESENDING BUFFERS (sometimes also UPLOADING MISSING PIXELS)