Skip to content

Instantly share code, notes, and snippets.

@fabian-thomas
Created October 31, 2023 19:05
Show Gist options
  • Save fabian-thomas/27d9a81d819d9648d6ebf735e879e4d2 to your computer and use it in GitHub Desktop.
Save fabian-thomas/27d9a81d819d9648d6ebf735e879e4d2 to your computer and use it in GitHub Desktop.
ddcutil istats
FORMAT 2
* DEV /dev/i2c device
* EC EDID check sum byte
* C current step
* I interval remaining
* L current lookback
* DEV EC C I L Values
* Values {tries required, step, epoch seconds}
i2c-4 46 10 3 5
i2c-5 98 6 3 20 {1,7,1698778968} {1,7,1698778968} {1,7,1698778975} {1,7,1698778975} {1,7,1698778981} {1,7,1698778981} {1,7,1698778985} {1,7,1698778985} {1,7,1698778989} {1,7,1698778989} {1,7,1698778994} {1,7,1698778994} {1,7,1698779028} {1,7,1698779028} {1,7,1698779033} {1,7,1698779033} {1,7,1698779068} {1,7,1698779068} {1,7,1698779086} {1,7,1698779086}
i2c-7 46 10 3 5
i2c-8 98 7 3 5 {1,7,1698748279} {1,7,1698748280} {1,7,1698748285} {1,7,1698748286} {1,7,1698748292} {1,7,1698748293} {1,7,1698748299} {1,7,1698748299} {1,7,1698748305} {1,7,1698748305} {1,7,1698748311} {1,7,1698748312} {1,7,1698748318} {1,7,1698748318} {1,7,1698748324} {1,7,1698748325} {1,7,1698748331} {1,7,1698748331} {1,7,1698748337} {1,7,1698748338}
i2c-10 98 0 3 5 {1,0,1698779031} {1,0,1698779031} {1,0,1698779031} {1,0,1698779033} {1,0,1698779033} {1,0,1698779033} {1,0,1698779063} {1,0,1698779063} {1,0,1698779063} {1,0,1698779063} {1,0,1698779068} {1,0,1698779068} {1,0,1698779068} {1,0,1698779081} {1,0,1698779081} {1,0,1698779081} {1,0,1698779081} {1,0,1698779086} {1,0,1698779086} {1,0,1698779086}
EXECUTION STATISTICS
Maxtries Settings:
Operation Type Current Default Min Max
Write only exchange tries: 4 4 4 4
Write read exchange tries: 10 4 10 10
Multi-part read exchange tries: 8 4 8 8
Multi-part_write exchange tries: 8 4 8 8
Retry statistics for write only
No tries attempted
Retry statistics for write-read
Max tries allowed: 10
Successful attempts by number of tries required:
1: 5
Total successful attempts: 5
Failed due to max tries exceeded: 1
Failed due to fatal error: 1
Total attempts: 7
Retry statistics for multi-part read
No tries attempted
Retry statistics for multi-part write
No tries attempted
DDC Related Errors:
Count Status Code Description
10 EREMOTEIO ( -121) Remote I/O error
4 DDCRC_NULL_RESPONSE (-3002) received DDC null response
1 DDCRC_RETRIES (-3007) maximum retries exceeded (derived)
1 DDCRC_ALL_RESPONSES_NULL (-3011) all tries returned DDC Null Message
Total errors: 16
Errors Wrapped in Retry:
Count Status Code Description
10 EREMOTEIO ( -121) Remote I/O error
4 DDCRC_NULL_RESPONSE (-3002) received DDC null response
Total errors: 14
IO and Sleep Events:
Total IO events: 68
IO error count: 16
Total sleep events: 18
Sleep Event type Count
SE_WRITE_TO_READ 9
SE_POST_WRITE 0
SE_POST_READ 9
SE_POST_SAVE_SETTINGS 0
SE_PRE_MULTI_PART_READ 0
SE_POST_CAP_TABLE_SEGMENT 0
SE_SPECIAL 0
Call Stats:
Type Count Millisec ( Nanosec)
i2c writes using ioctl (I2_IOCTL_WRITE) 33 460 ( 460293803)
i2c reads using ioctl (I2_IOCTL_READ) 13 230 ( 230494243)
open file calls (IE_OPEN) 11 0 ( 47757)
close file calls (IE_CLOSE) 11 0 ( 25748)
Totals: 68 690 ( 690861551)
Sleep Call Stats:
Total sleep calls: 12
Requested sleep time milliseconds : 472
Actual sleep milliseconds (nanosec): 478 ( 478571114)
Total elapsed milliseconds (nanoseconds): 1186 ( 1186727924)
Total non sleep system call time: 690 milliseconds
Total sleep call time: 478 milliseconds
Elapsed time: 1186 milliseconds
PER-DISPLAY EXECUTION STATISTICS
Per display retry data
Retry data for display on bus /dev/i2c-4:
Retry data for write only tries: No tries attempted
Retry data for write-read tries
Successful attempts by number of tries required:
None
Total successful: 0
Failed due to max tries exceeded: 1
Failed due to fatal error: 0
Total attempts: 1
Retry data for multi-part read tries: No tries attempted
Retry data for multi-part write tries: No tries attempted
Retry data for display on bus /dev/i2c-5:
Retry data for write only tries: No tries attempted
Retry data for write-read tries
Successful attempts by number of tries required:
1: 2
Total successful: 2
Failed due to max tries exceeded: 0
Failed due to fatal error: 1
Total attempts: 3
Retry data for multi-part read tries: No tries attempted
Retry data for multi-part write tries: No tries attempted
Retry data for display on bus /dev/i2c-10:
Retry data for write only tries: No tries attempted
Retry data for write-read tries
Successful attempts by number of tries required:
1: 3
Total successful: 3
Failed due to max tries exceeded: 0
Failed due to fatal error: 0
Total attempts: 3
Retry data for multi-part read tries: No tries attempted
Retry data for multi-part write tries: No tries attempted
No per-display status code statistics are collected
No per-display call statistics are collected
Per display elapsed time
Elapsed time report for display bus /dev/i2c-4
User sleep multiplier factor: 1.00 Implicit
Initial adjusted multiplier: 2.00 from cache
Final adjusted multiplier: Not set
Total sleep time (milliseconds): 0
Dynamic sleep algorithm 2 data for /dev/i2c-4:
Initial Step: 10, multiplier = 2.00
Final Step: 10, multiplier = 2.00
Initial lookback ct: 5
absolute_step_ct: 11
dsa2_step_floor 0
step_last: 10
Final lookback ct: 5
Adjustment interval: 3
Adjustments up: 0
Total steps up: 0
Adjustments down: 0
Total steps down: 0
Successes: 0
Retryable Failures: 9
Elapsed time report for display bus /dev/i2c-5
User sleep multiplier factor: 1.00 Implicit
Initial adjusted multiplier: 0.70 from cache
Final adjusted multiplier: 0.70
Total sleep time (milliseconds): 472
Dynamic sleep algorithm 2 data for /dev/i2c-5:
Initial Step: 7, multiplier = 1.00
Final Step: 6, multiplier = 0.70
Initial lookback ct: 5
absolute_step_ct: 11
dsa2_step_floor 0
step_last: 10
Final lookback ct: 20
Adjustment interval: 3
Adjustments up: 1
Total steps up: 1
Adjustments down: 4
Total steps down: 4
Successes: 2
Retryable Failures: 3
Elapsed time report for display bus /dev/i2c-10
User sleep multiplier factor: 1.00 Implicit
Initial adjusted multiplier: 0.00 from cache
Final adjusted multiplier: 0.00
Total sleep time (milliseconds): 0
Dynamic sleep algorithm 2 data for /dev/i2c-10:
Initial Step: 0, multiplier = 0.00
Final Step: 0, multiplier = 0.00
Initial lookback ct: 5
absolute_step_ct: 11
dsa2_step_floor 0
step_last: 10
Final lookback ct: 5
Adjustment interval: 3
Adjustments up: 0
Total steps up: 0
Adjustments down: 0
Total steps down: 0
Successes: 3
Retryable Failures: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment