Tom Zander [ARCHIVE] on Nostr: 📅 Original date posted:2015-10-21 📝 Original message:On Tuesday 20 Oct 2015 ...
📅 Original date posted:2015-10-21
📝 Original message:On Tuesday 20 Oct 2015 20:01:16 Jonathan Toomim wrote:
> claimed that he had this memory usage issue on Linux, but not on Mac OS X,
> under a GBT workload in both situations. If this is true, that would
> suggest this might be a fragmentation issue due to poor memory allocation.
Please make sure you measure your memory usage correctly on Linux, it is
notoriously easy to get misleading info from tools like top.
I use this one on Linux.
$cat ~/bin/showmemusage
#!/bin/sh
if test -z "$1"; then
echo "need a pid"
exit
fi
mem=`echo 0 $(cat /proc/$1/smaps | grep Pss | awk '{print $2}' | \
sed 's#^#+#' ) | bc`
echo "$mem KB"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20151021/5d946397/attachment.sig>
Published at
2023-06-07 17:43:22Event JSON
{
"id": "37413ececdce37f69b01f53bff39a6cc15db9152d9b669746e1d3f4ac4558461",
"pubkey": "dcb947d818dbfd7cf0baf26c0d5eb606b5a32336c5483fb53e05146315833ca7",
"created_at": 1686159802,
"kind": 1,
"tags": [
[
"e",
"257c60cbd2c94bcbc1af242f96780d9665ec0aa19ec5454bed0371ff096c7c39",
"",
"root"
],
[
"e",
"15ff5e5c269a00129e7e47183c0ff2eb6a2e461a05fbc6e7f5686923c6923212",
"",
"reply"
],
[
"p",
"0ff56c09ef879c89ea04bfa2d5f5e0d96000ed6eaf5ac38e7b538a9d92767569"
]
],
"content": "📅 Original date posted:2015-10-21\n📝 Original message:On Tuesday 20 Oct 2015 20:01:16 Jonathan Toomim wrote:\n\u003e claimed that he had this memory usage issue on Linux, but not on Mac OS X,\n\u003e under a GBT workload in both situations. If this is true, that would\n\u003e suggest this might be a fragmentation issue due to poor memory allocation.\n\nPlease make sure you measure your memory usage correctly on Linux, it is \nnotoriously easy to get misleading info from tools like top.\n\nI use this one on Linux. \n\n$cat ~/bin/showmemusage \n#!/bin/sh\nif test -z \"$1\"; then\n echo \"need a pid\"\n exit\nfi\n\nmem=`echo 0 $(cat /proc/$1/smaps | grep Pss | awk '{print $2}' | \\\nsed 's#^#+#' ) | bc`\necho \"$mem KB\"\n-------------- next part --------------\nA non-text attachment was scrubbed...\nName: signature.asc\nType: application/pgp-signature\nSize: 819 bytes\nDesc: This is a digitally signed message part.\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20151021/5d946397/attachment.sig\u003e",
"sig": "64eadfa507f43558f5fc78f380d6d542e517f6f2c0099d11bd06019a33b649740af407c83cf49a42ff599e22329a8c9966fe28d5637ce5def194c1b426ce88b1"
}