LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-03-2010, 10:28 PM   #1
kanis
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Page fault


Hi,
My J2EE application is deployed in Weblogic 9.2 MP3 in Linux box.
The problem is "api response time in production system is higher that test system( test system has more data and load w.r.t production .)"
we got large amount of page fault in production Garbage collection log , where as in test system (with same load ) page fault is Zero.And this page fault making my production system slow.
In respect of JVM(JrockIt) both the system memory settings(-Xms1024m -Xmx1024m -Xgcprio:throughput) are same.
Meminfo for Production:
MemTotal: 3866724 kB
MemFree: 1131748 kB
Buffers: 52304 kB
Cached: 77452 kB
SwapCached: 1191916 kB
Active: 1050952 kB
Inactive: 314460 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 3866724 kB
LowFree: 1131748 kB
SwapTotal: 4194296 kB
SwapFree: 2387448 kB
Dirty: 112 kB
Writeback: 0 kB
AnonPages: 1191348 kB
Mapped: 18048 kB
Slab: 86060 kB
PageTables: 10828 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 6127656 kB
Committed_AS: 2338912 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 3236 kB
VmallocChunk: 34359734047 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB

Meminfo for test
MemTotal: 3895492 kB
MemFree: 600960 kB
Buffers: 83048 kB
Cached: 339232 kB
SwapCached: 140620 kB
Active: 1846672 kB
Inactive: 325616 kB
HighTotal: 3014592 kB
HighFree: 198016 kB
LowTotal: 880900 kB
LowFree: 402944 kB
SwapTotal: 2097144 kB
SwapFree: 1924696 kB
Dirty: 96 kB
Writeback: 0 kB
Mapped: 1720428 kB
Slab: 55448 kB
CommitLimit: 3520600 kB
Committed_AS: 2204612 kB
PageTables: 5388 kB
VmallocTotal: 106488 kB
VmallocUsed: 2704 kB
VmallocChunk: 103728 kB
HugePages_Total: 512
HugePages_Free: 512
Hugepagesize: 2048 kB

Can any one let me know is any system/kernel parameter set is missing in production which might cause this large amount of page fault. If any more information is required let me know?
Please help.

Linux Version in Prod:
Linux version 2.6.18-53.el5 (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 16:34:19 EDT 2007
Linux Version in Test:
Linux version 2.6.9-55.ELsmp (brewbuilder@ls20-bc2-14.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Fri Apr 20 17:03:35 EDT 2007
 
Old 03-04-2010, 11:52 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,604

Rep: Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960
Quote:
Originally Posted by kanis View Post
Hi,
My J2EE application is deployed in Weblogic 9.2 MP3 in Linux box.
The problem is "api response time in production system is higher that test system( test system has more data and load w.r.t production .)"
we got large amount of page fault in production Garbage collection log , where as in test system (with same load ) page fault is Zero.And this page fault making my production system slow.
In respect of JVM(JrockIt) both the system memory settings(-Xms1024m -Xmx1024m -Xgcprio:throughput) are same.

Can any one let me know is any system/kernel parameter set is missing in production which might cause this large amount of page fault. If any more information is required let me know?
Please help.
Well, there are system config files (/etc/security/limits.conf, etc.), that contain parameters for system-wide settings. Are they they same? What file(s) did you modify on test, that you didn't on production?
Quote:
Linux Version in Prod:
Linux version 2.6.18-53.el5 (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 16:34:19 EDT 2007
Linux Version in Test:
Linux version 2.6.9-55.ELsmp (brewbuilder@ls20-bc2-14.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Fri Apr 20 17:03:35 EDT 2007
So you're running two different kernels, but your test box is running the SMP kernel, and your prod box isn't? Have you contacted RedHat support, since you're paying for it, with your RHEL subscription?

There are many files and settings that it could be, but you haven't said how you configured the systems, what kind of hardware is on them, posted any of the code, or given any real details. There are too many variables for us to guess about.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can page fault happen during ISR? shreshtha Linux - Newbie 4 10-30-2009 12:10 AM
kprobe-fault handler(how to generate page fault) hnshashi Linux - Newbie 0 11-13-2008 12:25 AM
Wine: page fault on read access to... computergeekxp Linux - Newbie 4 06-30-2008 06:20 AM
Page Fault in Nonpaged Area XPediTioN Slackware 0 09-30-2003 07:57 AM
RedHat 8.0 ---> W2k - Page Fault Abrid Linux - Newbie 1 09-18-2003 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration