Skip to content

Commit 78a406b

Browse files
committed
[kdump] Add testing result of kdump on different platforms.
Signed-off-by: Yong Zhao <[email protected]>
1 parent 78e7fb1 commit 78a406b

File tree

1 file changed

+42
-23
lines changed

1 file changed

+42
-23
lines changed

doc/kdump/SONiC-kdump.md

Lines changed: 42 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,35 @@
1414
- [About this Manual](#about-this-manual)
1515
- [Scope](#scope)
1616
- [Definitions/Abbreviations](#definitionsabbreviations)
17-
- [Table 1: Abbreviations](#table-1-abbreviations)
17+
- [Table 1: Abbreviations](#table-1-abbreviations)
1818
- [Requirements Overview <a name="requirements-overview"></a>](#requirements-overview-a-namerequirements-overviewa)
19-
- [Functional Requirements <a name="functional-requirements"></a>](#functional-requirements-a-namefunctional-requirementsa)
20-
- [Scalability Requirements](#scalability-requirements)
21-
- [Warmboot Requirements](#warmboot-requirements)
22-
- [Configuration and Management Requirements](#configuration-and-management-requirements)
23-
- [Configuration commands](#configuration-commands)
24-
- [Information commands](#information-commands)
19+
- [Functional Requirements <a name="functional-requirements"></a>](#functional-requirements-a-namefunctional-requirementsa)
20+
- [Scalability Requirements](#scalability-requirements)
21+
- [Warmboot Requirements](#warmboot-requirements)
22+
- [Configuration and Management Requirements](#configuration-and-management-requirements)
23+
- [Configuration commands](#configuration-commands)
24+
- [Information commands](#information-commands)
2525
- [kdump : end-to-end flow](#kdump-end-to-end-flow)
2626
- [Functional Description](#functional-description)
27-
- [Design](#design)
28-
- [Kernel core-dump service](#kernel-core-dump-service)
29-
- [SONiC Code Changes](#sonic-code-changes)
30-
- [Configuration commands:](#configuration-commands)
31-
- [config kdump <enable|disable>](#config-kdump-enabledisable)
32-
- [config kdump memory string](#config-kdump-memory-string)
33-
- [config kdump num_dumps number](#config-kdump-numdumps-number)
34-
- [show kdump [status]](#show-kdump-status)
35-
- [show kdump files](#show-kdump-files)
36-
- [show kdump log [X]](#show-kdump-log-x)
27+
- [Design](#design)
28+
- [Kernel core-dump service](#kernel-core-dump-service)
29+
- [SONiC Code Changes](#sonic-code-changes)
30+
- [Configuration commands:](#configuration-commands)
31+
- [config kdump <enable|disable>](#config-kdump-enabledisable)
32+
- [config kdump memory string](#config-kdump-memory-string)
33+
- [config kdump num_dumps number](#config-kdump-numdumps-number)
34+
- [show kdump [status]](#show-kdump-status)
35+
- [show kdump files](#show-kdump-files)
36+
- [show kdump log [X]](#show-kdump-log-x)
3737
- [How to use the kernel core dump files](#how-to-use-the-kernel-core-dump-files)
38-
- [Introduction](#introduction)
39-
- [Use the kernel core dump file on the switch](#use-the-kernel-core-dump-file-on-the-switch)
40-
- [Use the kernel core dump file on a Linux host](#use-the-kernel-core-dump-file-on-a-linux-host)
41-
- [Analyzing the core dump](#analyzing-the-core-dump)
38+
- [Introduction](#introduction)
39+
- [Use the kernel core dump file on the switch](#use-the-kernel-core-dump-file-on-the-switch)
40+
- [Use the kernel core dump file on a Linux host](#use-the-kernel-core-dump-file-on-a-linux-host)
41+
- [Analyzing the core dump](#analyzing-the-core-dump)
4242
- [KDUMP DB](#kdump-db)
43-
- [Unit Test](#unit-test)
43+
- [Test](#test)
44+
- [Test on Different Platforms](#test-on-different-platforms)
45+
- [Unit Test](#unit-test)
4446

4547
<!-- /TOC -->
4648

@@ -421,6 +423,23 @@ Links:
421423
"num_dumps" :{{number}}
422424
```
423425

424-
## Unit Test
426+
## Test
427+
428+
### Test on Different Platforms
429+
430+
We tested the Linux kernel dump mechanism on different platfroms in StarLab.
431+
The following table shows detailed information related to the size of core
432+
dump file and kernel log file, the downtime of device. At here, the downtime
433+
represents the time interval from issuing the command `echo c > /prpc/sysrq-trigger`
434+
triggering the kernel crash to the device is up and can be logged in again.
435+
436+
| Platforms | Memory Size | Size of core file | Size of kernel log file | Downtime |
437+
| ------------------- | ----------- | ----------------- | ----------------------- | -------- |
438+
| Arista-7050-QX-32S | 4 GB | 119 MB | 72 KB | 150 s |
439+
| Mellanox SN2700 | 8 GB | 246 MB | 116 KB | 160 s |
440+
| Force10-S6000 | 8 GB | 77 MB | 72 KB | 150 s |
441+
| Celestica-E1031 | 2 GB | 53 MB | 60 KB | 270 s |
442+
443+
### Unit Test
425444

426445
[Test of sonic-kdump](images/sonic-kdump_ut.pdf)

0 commit comments

Comments
 (0)