Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Time difference between different Security features
May 31, 2017
1:52, EEST
Avatar
peterrob45
Member
Members
Forum Posts: 25
Member Since:
March 9, 2017
sp_UserOfflineSmall Offline

Hi all,

i would like to know why there is few “ms” delay in each mode? and I would like to test the time taken to complete a whole service call (read a value)from my client to the server, for different security mode. how can I perform this?

Regards

June 2, 2017
17:29, EEST
Avatar
Heikki Tahvanainen
Member
Members
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

Hello,

Thank you for a good question. What do you specifically mean with “few ms delay in each mode”?

I understand that this question is about the performance of different security modes of OPC UA. These are None, Sign and Sign&Encrypt. Using signatures or encryption will consume more resources than using no security. It’s application specific if this difference is meaningful for you.

Measuring execution time of a single service call (such as UaClient.readValues call) may be difficult in practice. At least you should measure large amount of executions and take a suitable statistical value. For example, you could try reading same data with different security modes 100 times each and measure average execution time of the UaClient.readValues method call. The average execution time should show that None is the fastest Security Mode and using Sign or Sign&Encrypt adds a small amount of overhead. Also, there should be a notable difference in the performance between signing and also encrypting data meaning that only signing should be faster.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 729

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1