Bug 199758 - Patch to disable block layer bouncing for most memory on 64bit systems
Summary: Patch to disable block layer bouncing for most memory on 64bit systems
Keywords:
Status: CLOSED DUPLICATE of bug 236051
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Jason Baron
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-21 19:37 UTC by Paul Raines
Modified: 2013-03-06 05:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-27 20:57:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Disable block layer bouncing for most memory on 64bit systems (2.06 KB, patch)
2006-07-21 19:37 UTC, Paul Raines
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0791 0 normal SHIPPED_LIVE Updated kernel packages available for Red Hat Enterprise Linux 4 Update 6 2007-11-14 18:25:55 UTC

Description Paul Raines 2006-07-21 19:37:26 UTC
Description of problem:

Constant "Out of Memory" errors on x86_64 boxes when doing rsyncs
(but even when not doing rsync)

Version-Release number of selected component (if applicable):

2.6.9-34.0.2.ELsmp

How reproducible:

On one of my x86_64, I can reproduce it within 2 hours after reboot by
doing an rsync from one of my ext3 volumes to another.  I have seen it
happen on some boxes where rsync is not involved so it is is not specifically
an rsync thing.

Steps to Reproduce:
1. Boot up box
2. Start rsync between two large 10's GB volumes
3. Wait for "oom-killer" message in log
  
Actual results:

oom-killer starts killing random processes

Expected results:

The kernel should not run out of memory

Additional info:

SUSE has a patch fix for this I found which I have attached and it has fixed
the problem for me.  It is a patch called:

Disable block layer bouncing for most memory on 64bit systems

Comment 1 Paul Raines 2006-07-21 19:37:27 UTC
Created attachment 132841 [details]
Disable block layer bouncing for most memory on 64bit systems

Comment 2 Paul Raines 2006-07-21 19:38:23 UTC
Jason Baron emailed me that a possible workaround is to do:

echo 100 > /proc/sys/vm/lower_zone_protection


Comment 3 Jason Baron 2006-07-24 15:28:52 UTC
did the workaround help?

Comment 4 Paul Raines 2006-07-24 16:29:32 UTC
I have not tried it.  I have the patched kernel running on all my
dual Opteron boxes that are the only ones that give the error.

Comment 5 RHEL Program Management 2006-10-05 21:02:10 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 6 Jay Turner 2006-10-17 15:33:14 UTC
QE ack for 4.5.

Comment 7 Jay Turner 2006-10-17 15:33:50 UTC
QE ack for 4.5.

Comment 9 Peter Martuccelli 2007-03-08 21:31:22 UTC
Jason are we moving ahead with Andi's patch for R4.5?  Do we know this to be a
problem and can justify including the patch in R4.5 based on code inspection? 
If not we should close the bug report out as wontfix.

Comment 11 Jason Baron 2007-08-27 20:57:18 UTC

*** This bug has been marked as a duplicate of 236051 ***


Note You need to log in before you can comment on or make changes to this bug.