Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1606994
| From | Pavel Tatashin <pasha.tatashin@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [v1 0/9] Early boot time stamps for x86 |
| Date | 2017-03-22 21:30 +0100 |
| Message-ID | <tnUTE-85w-19@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Last week I sent out patches to enable early boot time stamp on SPARC, that work is now under review: http://www.spinics.net/lists/sparclinux/msg17372.html This is continuation for that work, but adding early boot time stamps support for x86 machines. Here is example how this information is useful: Before: https://hastebin.com/zofiqazuze.scala After: https://hastebin.com/otayoliruc.scala If you take a look at the before case, it seems that this particular x86 machine took only 2 minutes to boot. Which, while can be improved, is not too bad considering that this machine has 192CPUs and 2.2T of memory. But, as it can be seen in the fix case, the time is much longer: - early boot time stamps account for another 80s! - early tsc offset is 549s, so it took over 9 minutes to get through POST, and GRUB before starting linux Now, the total boot time is 12m52s, which is really slow. Pavel Tatashin (9): sched/clock: broken stable to unstable transfer sched/clock: interface to allow timestamps early in boot x86/cpu: determining x86 vendor early x86/tsc: early MSR-based CPU/TSC frequency discovery x86/tsc: disable early messages from quick_pit_calibrate x86/tsc: use cpuid to determine TSC frequency x86/tsc: use cpuid to determine CPU frequency x86/tsc: tsc early x86/tsc: use tsc early arch/x86/include/asm/processor.h | 1 + arch/x86/include/asm/tsc.h | 5 + arch/x86/kernel/cpu/common.c | 36 ++++++++ arch/x86/kernel/head64.c | 1 + arch/x86/kernel/time.c | 1 + arch/x86/kernel/tsc.c | 166 +++++++++++++++++++++++++++++++++----- arch/x86/kernel/tsc_msr.c | 38 ++++++--- include/linux/sched/clock.h | 4 + kernel/sched/clock.c | 70 +++++++++++++++- 9 files changed, 284 insertions(+), 38 deletions(-)
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[v1 0/9] Early boot time stamps for x86 Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-03-22 21:30 +0100
[v1 5/9] x86/tsc: disable early messages from quick_pit_calibrate Pavel Tatashin <pasha.tatashin@oracle.com> - 2017-03-22 21:30 +0100
Re: [v1 0/9] Early boot time stamps for x86 Peter Zijlstra <peterz@infradead.org> - 2017-03-22 21:40 +0100
Re: [v1 0/9] Early boot time stamps for x86 Pasha Tatashin <pasha.tatashin@oracle.com> - 2017-03-23 01:10 +0100
Re: [v1 0/9] Early boot time stamps for x86 Peter Zijlstra <peterz@infradead.org> - 2017-03-22 21:40 +0100
Re: [v1 0/9] Early boot time stamps for x86 Pasha Tatashin <pasha.tatashin@oracle.com> - 2017-03-23 01:10 +0100
Re: [v1 0/9] Early boot time stamps for x86 Thomas Gleixner <tglx@linutronix.de> - 2017-03-23 12:00 +0100
Re: [v1 0/9] Early boot time stamps for x86 Pasha Tatashin <pasha.tatashin@oracle.com> - 2017-03-23 15:50 +0100
Re: [v1 0/9] Early boot time stamps for x86 Thomas Gleixner <tglx@linutronix.de> - 2017-03-23 19:50 +0100
csiph-web