--717328-1042021635-986565913=:9562
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.21.0104061005161.9562@caffeine.ops.endeca.com>
Hi. Im hoping someone on here can help me out. I posted something
similar to this back in June 2000 when I was on the 2.2.X line and
was waiting to see if the 2.4 kernel would provide a fix.
Essentially, the problem can be summarized to be that on a machine
with ample ram (2G, 4G, etc), I am unable to malloc a gig if I ask
for the memory in small ( <= 128k) chunks. I've enclosed some results
and a little program which was put together to demonstrate the problems
we're having. All of the failures seem to occur around 930MB.
I'm more than happy to try any tunings, patches, etc and my
time is at your disposal.
Thanks,
Karl
----
Karl Majer majer@endeca.com
Sr Systems Architect 617 577 7999 xt 251
"Think for yourselves and let others enjoy the privilege to do so, too."
--Voltaire
--717328-1042021635-986565913=:9562
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=results
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.21.0104061005130.9562@caffeine.ops.endeca.com>
Content-Description:
Content-Disposition: ATTACHMENT; FILENAME=results
ICBUaGUgZmllbGRzIGFyZTogDQogIEl0ZXJhdGlvbiwgQWRkciBvZiBwdHIs
IEFkZHIgc3RvcmVkIGJ5IHB0ciwgYWxsb2MnZCBtZW0NCg0KICBzaXplOiA0
MDk2DQogICMyMjg4NTIgKDQwMUYwN0Q4KSAoM0ZGRkM5NDgpIGFsbG9jYXRl
ZCA5MzczODE4ODggYnl0ZXMgdG90YWwuDQogICMyMjg4NTMgKDQwMUYwN0RD
KSAoM0ZGRkQ5NTApIGFsbG9jYXRlZCA5MzczODU5ODQgYnl0ZXMgdG90YWwu
DQogIG1hbGxvYyBlcnJvciBDYW5ub3QgYWxsb2NhdGUgbWVtb3J5DQogIA0K
ICBzaXplOiA4MTkyDQogICMxMTQ1MzYgKDQwMTgwREE4KSAoM0ZGRjk0RTgp
IGFsbG9jYXRlZCA5MzgyODcxMDQgYnl0ZXMgdG90YWwuDQogICMxMTQ1Mzcg
KDQwMTgwREFD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wODY0NjQgYnl0ZXMgdG90YWwuDQogICM4
MTg3ICg4MDUxOTk0KSAoM0ZGQkY5ODgpIGFsbG9jYXRlZCAxMDczMjE3NTM2
IGJ5dGVzIHRvdGFsLg0KICBtYWxsb2MgZXJyb3IgQ2Fubm90IGFsbG9jYXRl
IG1lbW9yeQ0KICANCiAgc2l6ZTogMjYyMTQ0DQogICM0MDk0ICg4MDREOUEw
KSAoMzdGRDM5QTApIGFsbG9jYXRlZCAxMDczNDc5NjgwIGJ5dGVzIHRvdGFs
Lg0KICAjNDA5NSAoODA0RDlBNCkgKDM4MDEzOUE4KSBhbGxvY2F0ZWQgMTA3
Mzc0MTgyNCBieXRlcyB0b3RhbC4NCiAgc3VjY2Vzcw0KICAgDQo=
--717328-1042021635-986565913=:9562
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="memgrab.c"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.21.0104061005131.9562@caffeine.ops.endeca.com>
Content-Description:
Content-Disposition: ATTACHMENT; FILENAME="memgrab.c"
I2luY2x1ZGU8c3RkaW8uaD4NCiNpbmNsdWRlPHVuaXN0ZC5oPg0KI2luY2x1
ZGU8c3RkbGliLmg+DQojaW5jbHVkZTxlcnJuby5oPg0KDQp1bnNpZ25lZCBp
bnQgaSxudW0sYml0ZXMsdG90YWwsZGVsYXk9MDsNCmNoYXIgKiptZW1ob2c7
DQoNCmludCBtYWluKGludCBhcmdjLGNoYXIgKmFyZ3ZbXSl7DQoNCiAgaWYo
YXJnYyE9NCl7DQogICAgZnByaW50ZihzdGRlcnIsInVzYWdlOiAlcyBbIyBv
ZiBjaHVua3NdIFtieXRlcyBwZXIgY2h1bmtdIFtkZWxheSBpbiBzZWNdXG4i
LGFyZ3ZbMF0pOw0KICAgIHJldHVybigxKTsNCiAgfSANCg0KICBudW09YXRv
aShhcmd2WzFdKTsNCiAgYml0ZXM9YXRvaShhcmd2WzJdKTsNCiAgZGVsYXk9
YXRvaShhcmd2WzNdKTsNCg0KICBtZW1ob2c9bWFsbG9jKHNpemVvZihjaGFy
KikgKiBudW0pOyANCiAgaWYoIW1lbWhvZyl7DQogICAgZnByaW50ZihzdGRl
cnIsIm1hbGxvYyBlcnJvciAlc1xuIixzdHJlcnJvcihlcnJubykpOyAgDQog
ICAgZXhpdCgxKTsNCiAgfQ0KDQogIGZvcihpPTA7aTxudW07aSsrKXsNCiAg
ICAqbWVtaG9nPW1hbGxvYyhiaXRlcyk7DQogICAgaWYoISptZW1ob2cpew0K
ICAgICAgZnByaW50ZihzdGRlcnIsIm1hbGxvYyBlcnJvciAlc1xuIixzdHJl
cnJvcihlcnJubykpOyAgDQogICAgICBleGl0KDEpOw0KICAgIH0NCiAgICB0
b3RhbCs9Yml0ZXM7DQogICAgcHJpbnRmKCIjJXUgKCVYKSAoJVgpIGFsbG9j
YXRlZCAldSBieXRlcyB0b3RhbC5cbiIsaSxtZW1ob2csKm1lbWhvZyx0b3Rh
bCk7DQogICAgbWVtaG9nKys7DQogICAgc2xlZXAoZGVsYXkpOw0KICB9ICAN
Cg0KIHJldHVybigwKTsNCn0gDQogIA0KDQo=
--717328-1042021635-986565913=:9562--
-
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/