{"id":3200,"date":"2017-07-03T22:44:37","date_gmt":"2017-07-03T20:44:37","guid":{"rendered":"http:\/\/monodes.com\/predaelli\/?p=3200"},"modified":"2017-07-03T18:08:08","modified_gmt":"2017-07-03T16:08:08","slug":"already","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2017\/07\/03\/already\/","title":{"rendered":"Already?"},"content":{"rendered":"<div id=\"attachment_1504\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1504\" data-attachment-id=\"1504\" data-permalink=\"https:\/\/monodes.com\/predaelli\/2017\/07\/03\/already\/wp-1462654662786-jpeg\/\" data-orig-file=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?fit=600%2C450&amp;ssl=1\" data-orig-size=\"600,450\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"IFC 6410\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Inforce IFC 6410&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?fit=300%2C225&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?fit=510%2C383&amp;ssl=1\" class=\"size-medium wp-image-1504\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786-300x225.jpeg?resize=300%2C225\" alt=\"Inforce IFC 6410\" width=\"300\" height=\"225\" srcset=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?resize=510%2C383&amp;ssl=1 510w, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?w=600&amp;ssl=1 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-1504\" class=\"wp-caption-text\">Inforce IFC 6410<\/p><\/div>\n<p>I have overestimated the capabilities of my Inforce 6410. To be truly honest I knew that most ARM boards and the OSes running on it are 32bit and this includes Raspberries, but<\/p>\n<blockquote>\n<p style=\"text-align: right;\">&#8220;everyone knows that 4Gb of address space is enough for everything&#8221;<\/p>\n<\/blockquote>\n<p style=\"text-align: right;\">me, now, mocking the famous &#8220;<span id=\"640K\"><\/span>640Kb ought to be enough for anybody. &#8221; <a href=\"https:\/\/en.wikiquote.org\/wiki\/Bill_Gates#Misattributed\">misattributed to Bill Gates<\/a><\/p>\n<p>Ok, ok. Actually I have understimated the requirements of mongodb which &#8211; I shall admit &#8211; already warned me ominously that 32bit may be a problem.<\/p>\n<p>Oh, my! I would have never guessed that I would have hit the limit. Well, I filled mongodb with 1,8Gb of crypto-trade data. Ok, not a small base of data I shall admit, but far from the addressing limit of 4Gb. This log entry tought scared me a little:<\/p>\n<blockquote><p><code class=\"\" data-line=\"\">2017-07-03T15:05:22.897+0200 [conn135] ERROR: mmap private failed with out of memory. You are using a 32-bit build and probably need to upgrade to 64<\/code><br \/>\n<code class=\"\" data-line=\"\">2017-07-03T15:05:22.898+0200 [conn135] Assertion: 13636:file \/mnt\/cartoni\/mongodb\/zenbot4.3 open\/create failed in createPrivateMap (look in log for more information)<\/code><\/p><\/blockquote>\n<p>I should have remembered that 32 bit kernels usually <a href=\"https:\/\/softwareengineering.stackexchange.com\/questions\/283561\/memory-limit-of-a-single-program-and-mmap\">leave only 2Gb of addressing space<\/a> for user-land programs.<\/p>\n<p>I think I will end up using a good old x64. More power hungry, I know, but at least I won&#8217;t hit such limits.<\/p>\n<p>All in all I launched only 5 paper-trading zenbots to compare various trading strategies.<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">I have overestimated the capabilities of my Inforce 6410. To be truly honest I knew that most ARM boards and the OSes running on it are 32bit and this includes Raspberries, but &#8220;everyone knows that 4Gb of address space is enough for everything&#8221; me, now, mocking the famous &#8220;640Kb ought to be enough for anybody.&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2017\/07\/03\/already\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[71],"tags":[165,166,164],"class_list":["post-3200","post","type-post","status-publish","format-standard","hentry","category-cryptocoins","tag-32bit","tag-arm","tag-mongodb"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s6daft-already","jetpack-related-posts":[{"id":2616,"url":"https:\/\/monodes.com\/predaelli\/2017\/06\/14\/oh-i-bricked-it-again\/","url_meta":{"origin":3200,"position":0},"title":"Oh, I bricked it again","author":"Paolo Redaelli","date":"2017-06-14","format":"status","excerpt":"\u00a0 Oh, I bricked it again This time I tried to switch from trusty to xenial in a na\u00efve way, forcefully removing faaar too many packages, then iussing an apt dist-upgrade I was trying to install fairly recent releases of mongodb and nodejs1 It didn't handled it very well.... Now\u2026","rel":"","context":"In &quot;Mood&quot;","block_context":{"text":"Mood","link":"https:\/\/monodes.com\/predaelli\/category\/mood\/"},"img":{"alt_text":"Inforce IFC 6410","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?resize=350%2C200 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?resize=525%2C300 1.5x"},"classes":[]},{"id":1505,"url":"https:\/\/monodes.com\/predaelli\/2016\/05\/07\/driving-me-crazy\/","url_meta":{"origin":3200,"position":1},"title":"Driving me crazy","author":"Paolo Redaelli","date":"2016-05-07","format":false,"excerpt":"This little Inforce IFC 6410 is a really good ARM system but there's a little glitch that is driving\u00a0 me crazy: I just can't make it see the Micro SD plugged in. I cannot even make the device appear under \/dev or in the dmesg log. Any help welcome, of\u2026","rel":"","context":"In &quot;Hardware&quot;","block_context":{"text":"Hardware","link":"https:\/\/monodes.com\/predaelli\/category\/hardware\/"},"img":{"alt_text":"Inforce IFC 6410","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2016\/05\/wp-1462654662786.jpeg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2619,"url":"https:\/\/monodes.com\/predaelli\/2017\/06\/14\/unbricking-ifc-boards\/","url_meta":{"origin":3200,"position":2},"title":"Unbricking IFC Boards","author":"Paolo Redaelli","date":"2017-06-14","format":false,"excerpt":"As I did it again I had to follow Unbricking IFC Boards from A Canadian Engineer which is the same guide found on InForce website, but not buried under an NDA. Kudos! There are a couple of cases where you would encounter a bricked board and you would have to\u2026","rel":"","context":"In &quot;Senza categoria&quot;","block_context":{"text":"Senza categoria","link":"https:\/\/monodes.com\/predaelli\/category\/senza-categoria\/"},"img":{"alt_text":"Inforce IFC 6410","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2017\/06\/wp-1462654662786-150x150.jpeg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3196,"url":"https:\/\/monodes.com\/predaelli\/2017\/07\/02\/usb-flash-drive-and-wear-leveling\/","url_meta":{"origin":3200,"position":3},"title":"Usb flash drive and wear leveling","author":"Paolo Redaelli","date":"2017-07-02","format":false,"excerpt":"From: linux - How to correctly partition usb flash drive and which filesystem to choose considering wear leveling? - Super User an useful little change to fstab for usb sticks or SD attached to your ARM boards, like Raspberries or Inforce 6410: Also, in your fstab, be sure to use\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2017\/07\/wp-1462654662786-150x150.jpeg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":7327,"url":"https:\/\/monodes.com\/predaelli\/2020\/06\/11\/leggere-le-norme-uni-su-fedora-32\/","url_meta":{"origin":3200,"position":4},"title":"Leggere le norme UNI su Fedora 32","author":"Paolo Redaelli","date":"2020-06-11","format":false,"excerpt":"Come vorrei non sentire il bisogno di scrivere questa guida. Purtroppo le normative italiane edite dall'UNI spesso hanno valenza di legge quindi devono essere applicate. E sono \"rinchiuse\" dietro manette digitali, il famigerato DRM. Che dovrebbe stare per \"Digital rights management\" mentre nei fatti sono piuttosto delle \"Digital Restrictions Management\"\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5024,"url":"https:\/\/monodes.com\/predaelli\/2018\/12\/08\/unresponsive\/","url_meta":{"origin":3200,"position":5},"title":"Unresponsive","author":"Paolo Redaelli","date":"2018-12-08","format":false,"excerpt":"Well, I kept on this InForce IFC6410 for months in a row, oh wait, more than a year, so I should expect that a development board could fail sooner or later. Now the time has come and of course it seems always too soon. Next time I'll need an always\u2026","rel":"","context":"In &quot;Hardware&quot;","block_context":{"text":"Hardware","link":"https:\/\/monodes.com\/predaelli\/category\/hardware\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/wp-1544254707743..jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/wp-1544254707743..jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/wp-1544254707743..jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2018\/12\/wp-1544254707743..jpg?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/3200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=3200"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/3200\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=3200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=3200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=3200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}