Re: [Lse-tech] 7.52 second kernel compile

Gerrit Huizenga
2002-03-16T06:44:28Z

And this *without* the dcache_lock? Hmm. So you are saying there
may still be room for improvement?

BTW, are you doing this all out of cache/memory or do you have a
disk/controller quick enough to do the initial little file reads that
fast?

gerrit

In message <20020316061535.GA16653@krispykreme>, > : Anton Blanchard writes:
>
> > Let the kernel compile benchmarks continue!
>
> I think Im addicted. I need help!
>
> In this update we added 8 cpus and rewrote the ppc64 pagetable management
> code to do lockless inserts and removals (there is still locking at
> the pte level to avoid races).
>
> hardware: 32 way logical partition, 1.1GHz POWER4, 60G RAM
>
> kernel: 2.5.7-pre1 + ppc64 pagetable rework
>
> kernel compiled: 2.4.18 x86 with Martin's config
>
> compiler: gcc 2.95.3 x86 cross compiler
>
> make[1]: Leaving directory `/home/anton/intel_kernel/linux/arch/i386/boot'
> 128.89user 40.23system 0:07.52elapsed 2246%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (437084major+572835minor)pagefaults 0swaps
>
> 7.52 seconds is not a bad result for something running under a hypervisor.
> The profile looks much better now. We still spend a lot of time flushing tlb
> entries but we can look into batching them.
>
> Anton
> --
> anton@samba.org
> anton@au.ibm.com
>
> 155912 total 0.0550
> 114562 .cpu_idle
>
> 12615 .local_flush_tlb_range
> 8476 .local_flush_tlb_page
> 2576 .insert_hpte_into_group
>
> 1980 .do_anonymous_page
> 1813 .lru_cache_add
> 1390 .d_lookup
> 1320 .__copy_tofrom_user
> 1140 .save_remaining_regs
> 612 .rmqueue
> 517 .atomic_dec_and_lock
> 492 .do_page_fault
> 444 .copy_page
> 438 .__free_pages_ok
> 375 .set_page_dirty
> 350 .zap_page_range
> 314 .schedule
> 270 .__find_get_page
> 245 .page_cache_release
> 233 .lru_cache_del
> 231 .hvc_poll
> 215 .sys_brk
>
> _______________________________________________
> Lse-tech mailing list
> Lse-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lse-tech