mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Andrew Morton <akpm@digeo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Strange performance change 59 -> 61/62
Date: Thu, 20 Feb 2003 23:28:07 -0800	[thread overview]
Message-ID: <17930000.1045812486@[10.10.2.4]> (raw)
In-Reply-To: <17280000.1045811967@[10.10.2.4]>

>>> I'm comparing 59-mjb6 to 61-mjb1 and notice some strange performance
>>> differences that I can't explain ... not a big drop, but odd.
>>> ...
>>> 
>>> 1562 .text.lock.file_table
>>> 583 dentry_open
>>> 551 get_empty_filp
>> 
>> The first one here is fget().  That's causing problems on ppc64 as well - the
>> machine is spending as long in fget as it is in copy_foo_user() in dbench
>> runs.
>> 
>> One possibility is that we're calling fget() more often than previously,
>> although that would be rather odd.  Can you add the below patch, and monitor
>> /proc/meminfo:nr_fgets?

Some more stats ... which look rather suspicious. 600% increase for
dentry_open and __mark_inode_dirty? Hmmmmm.

      5198    35.9% .text.lock.file_table
      4562     2.6% total
       736    19.5% get_empty_filp
       568   617.4% dentry_open
       510   607.1% __mark_inode_dirty
       285    11.3% atomic_dec_and_lock
       272    11.9% __fput
       230    23.0% dput
       167     8.9% file_move
       159     1.0% page_remove_rmap
       128    67.7% vma_merge
       118    17.1% current_kernel_time
        66     1.0% page_add_rmap
        62     0.0% can_vma_merge_after
        50     2.3% do_schedule
...
       -56   -16.0% do_brk
       -67    -8.5% sys_brk
       -73    -0.5% do_anonymous_page
       -83   -45.6% do_lookup
      -109   -11.3% fd_install
      -114    -3.9% __copy_from_user_ll
      -133   -10.9% do_generic_mapping_read
      -282   -18.4% vfs_read
      -314   -34.4% file_ra_state_init
      -373    -7.7% vm_enough_memory
      -445    -5.5% d_lookup
     -1693    -3.8% default_idle


  reply	other threads:[~2003-02-21  7:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19 16:23 Martin J. Bligh
2003-02-19 18:19 ` Andrew Morton
2003-02-21  7:19   ` Martin J. Bligh
2003-02-21  7:28     ` Martin J. Bligh [this message]
2003-02-21  7:45       ` Andrew Morton
2003-02-21 17:27         ` Martin J. Bligh
2003-02-21 20:20           ` Andrew Morton
2003-02-22  7:46             ` Martin J. Bligh
2003-02-22  8:04               ` Andrew Morton
2003-02-22  8:10                 ` Martin J. Bligh
2003-02-19 17:19 Martin J. Bligh

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='17930000.1045812486@[10.10.2.4]' \
    --to=mbligh@aracnet.com \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®