mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Phy Prabab <phyprabab@yahoo.com>,
	William Lee Irwin III <wli@holomorphy.com>
Cc: Andrew Morton <akpm@osdl.org>,
	jakob@unthought.net, linux-kernel@vger.kernel.org
Subject: Re: Help understanding slow down
Date: Mon, 24 May 2004 07:13:48 -0700	[thread overview]
Message-ID: <350220000.1085408027@[10.10.2.4]> (raw)
In-Reply-To: <20040524072107.63774.qmail@web90005.mail.scd.yahoo.com>

I'm curious where all those kmap_atomic's come from. Do you have
CONFIG_HIGHPTE enabled? If so, please repeat with it off, and see
if that helps ... if not, grab the kcg patch out my tree, and see
where they're coming from (or shove a printk in there doing a dump_stack
for every 10,000 interations or so)

M.

--Phy Prabab <phyprabab@yahoo.com> wrote (on Monday, May 24, 2004 00:21:07 -0700):

> For more information, I ran the same test on 2.4.21
> with profiling enabled:
> 22133 total               0.0102
> 18255 default_idle        351.0577
> 634 do_page_fault         0.4412
> 342 do_no_page            0.3654
> 231 d_lookup              0.8134
> 173 do_anonymous_page     0.2790
> 157 system_call           2.8036
> 157 pte_alloc_atomic      0.2973
> 130 do_wp_page            0.1222
> 102 __find_get_page       1.5000
> 99 atomic_dec_and_lock    1.3750
> 90 handle_mm_fault        0.2616
> 89 zap_page_range         0.0792
> 86 link_path_walk         0.0343
> 62 mraccessf              0.6458
> 59 permission             0.4470
> 56 mrunlock               0.5600
> 42 strncpy_from_user      0.5526
> 40 strnlen_user           0.4545
> 40 __do_generic_file_read 0.0316
> 39 __free_pages           1.2188
> 35 filemap_nopage         0.0648
> 
> Also refomated the previous report to make it
> readable:
> 
>> 317955 total                 0.1302
>> 263633 poll_idle             4545.3966
>> 6764 do_page_fault           5.1951
>> 3650 kmap_atomic             28.2946
>> 3288 __d_lookup              12.0000
>> 1856 atomic_dec_and_lock     30.4262
>> 1823 do_no_page              2.4870
>> 1398 do_anonymous_page       3.1991
>> 1168 link_path_walk          0.5266
>> 1138 find_get_page           19.9649
>                                1.2450
>> 1075 nfs_lookup_revalidate   0.7739
>> 1039 page_remove_rmap        5.0437
>> 1006 in_group_p              9.4906
>> 987 handle_mm_fault          2.2742
>> 913 do_wp_page               1.1499
>> 816 finish_task_switch       6.6885
>> 772 tg3_poll                 2.6621
>> 762 rpcauth_lookup_credcache 1.3275
>> 722 page_add_file_rmap       4.1257
>> 623 system_call              14.1591
>> 607 strncpy_from_user        6.8202
>> 
>> Thanks again!
>> Phy
>> 
>> 
>> 
>> --- William Lee Irwin III <wli@holomorphy.com>
>> wrote:
>> > On Sun, May 23, 2004 at 11:23:37PM -0700, Phy
>> Prabab
>> > wrote:
>> > > Sorry for the late reply.   No this is a dual
>> Xeon
>> > > 3.06Ghz.  All runs are with the same hardware
>> and
>> > same
>> > > make/build system.
>> > > How do I generate a profile of the system.  I
>> have
>> > > alrady compiled profiling and have enabled the
>> > kernel.
>> > 
>> > readprofile -n -m /boot/System.map-`uname -r` |
>> sort
>> > -rn -k 1,1 | head -22
>> > 
>> > No need for compiled-in support, just boot with
>> > profile=1.
>> > 
>> > 
>> > -- wli
>> 
>> 
>> 	
>> 		
>> __________________________________
>> Do you Yahoo!?
>> Yahoo! Domains – Claim yours for only $14.70/year
>> http://smallbusiness.promotions.yahoo.com/offer 
>> -
>> To unsubscribe from this list: send the line
>> "unsubscribe linux-kernel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at 
>> http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Domains – Claim yours for only $14.70/year
> http://smallbusiness.promotions.yahoo.com/offer 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 



  parent reply	other threads:[~2004-05-24 14:14 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-24  0:32 Phy Prabab
2004-05-24  0:57 ` Phy Prabab
2004-05-24  1:04   ` William Lee Irwin III
2004-05-24  1:25     ` Jakob Oestergaard
2004-05-24  1:28       ` William Lee Irwin III
2004-05-24  1:51         ` Phy Prabab
2004-05-24  2:42           ` Nick Piggin
2004-05-24  2:43           ` Andrew Morton
2004-05-24  6:23             ` Phy Prabab
2004-05-24  6:27               ` William Lee Irwin III
2004-05-24  6:39                 ` Phy Prabab
2004-05-24  7:21                   ` Phy Prabab
2004-05-24  7:44                     ` Nick Piggin
2004-05-24  7:50                       ` Phy Prabab
2004-05-24  7:59                         ` Nick Piggin
2004-05-24 10:43                           ` Jakob Oestergaard
2004-05-24 14:13                     ` Martin J. Bligh [this message]
2004-05-24  7:53                   ` Andrew Morton
2004-05-24  8:00                     ` Phy Prabab
2004-05-25 10:32                     ` Ingo Molnar
2004-05-25  9:29                       ` Andrew Morton
2004-05-25 11:42                         ` Ingo Molnar
2004-05-25  9:58                           ` Andrew Morton
2004-05-25 12:25                             ` Ingo Molnar
2004-05-24  6:33   ` Paul Rolland
2004-05-24 17:28     ` Roger Luethi
2004-05-24  1:37 Robert M. Stockmann
2004-05-24  1:50 ` Phy Prabab
2004-05-24  3:31 ` Robert M. Stockmann
2004-05-24  6:14   ` Phy Prabab
2004-05-24 18:36     ` Robert M. Stockmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='350220000.1085408027@[10.10.2.4]' \
    --to=mbligh@aracnet.com \
    --cc=akpm@osdl.org \
    --cc=jakob@unthought.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phyprabab@yahoo.com \
    --cc=wli@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®