Read-only filesystem for fastest boot?File system that never breaks (data loss acceptable)Corruption-proof SD...

Russian equivalents of "no love lost"

Are there downsides to using std::string as a buffer?

Using "subway" as name for London Underground?

Can the poison from Kingsmen be concocted?

Can an Aarakocra use a shield while flying?

1980s live-action movie where individually-coloured nations on clouds fight

Soft question: Examples where lack of mathematical rigour cause security breaches?

Dual boot macOS Catalina 10.15 and macOS Mojave 10.14

Preventing Employees from either switching to Competitors or Opening Their Own Business

Do any instruments not produce overtones?

What can plausibly explain many of my very long and low-tech bridges?

Implement Homestuck's Catenative Doomsday Dice Cascader

Is it possible to 'live off the sea'

What ways have you found to get edits from non-LaTeX users?

How is water heavier than petrol, even though its molecular weight is less than petrol?

How can drunken, homicidal elves successfully conduct a wild hunt?

How to return a security deposit to a tenant

How to project 3d image in the planes xy, xz, yz?

What makes an item an artifact?

Arriving at the same result with the opposite hypotheses

Investing in a Roth IRA with a Personal Loan?

Payment instructions allegedly from HomeAway look fishy to me

Is the term 'open source' a trademark?

PhD - Well known professor or well known school?



Read-only filesystem for fastest boot?


File system that never breaks (data loss acceptable)Corruption-proof SD card filesystem for embedded Linux?Relative path to anything not working (while running from initramfs)When can Linux boot with a Read-Only Root Filesystem






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm trying to figure out which read-only filesystem I should use to achieve fastest possible boot time in a stripped down embedded system using the Raspberry Pi Zero W (with the OS booting from the SD card).



cramfs and squashfs seem like good candidates, however I have no need to save space on the SD card and I'm concerned that decompressing the filesystem at each boot will slow things down.



Basic Linux permission and metadata support would be a plus as it will be used to mount the root system.










share|improve this question







New contributor



Jeremiah Rose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Decompression has a cost, but reading from flash has a cost too, and you do more of that when data is not compressed. To add to the confusion, SD performance varies wildly from model to model and brand to brand. There is no way to get a correct answer without benchmarking your specific hardware.

    – Oh My Goodness
    56 mins ago











  • Yes I think you're right, a correct answer to this question will require actual benchmarks on a Rpi0w. Other things to take into account is the availability / use of XIP, and the ability to store the OS' critical boot data sequentially.

    – Jeremiah Rose
    6 mins ago


















0















I'm trying to figure out which read-only filesystem I should use to achieve fastest possible boot time in a stripped down embedded system using the Raspberry Pi Zero W (with the OS booting from the SD card).



cramfs and squashfs seem like good candidates, however I have no need to save space on the SD card and I'm concerned that decompressing the filesystem at each boot will slow things down.



Basic Linux permission and metadata support would be a plus as it will be used to mount the root system.










share|improve this question







New contributor



Jeremiah Rose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Decompression has a cost, but reading from flash has a cost too, and you do more of that when data is not compressed. To add to the confusion, SD performance varies wildly from model to model and brand to brand. There is no way to get a correct answer without benchmarking your specific hardware.

    – Oh My Goodness
    56 mins ago











  • Yes I think you're right, a correct answer to this question will require actual benchmarks on a Rpi0w. Other things to take into account is the availability / use of XIP, and the ability to store the OS' critical boot data sequentially.

    – Jeremiah Rose
    6 mins ago














0












0








0








I'm trying to figure out which read-only filesystem I should use to achieve fastest possible boot time in a stripped down embedded system using the Raspberry Pi Zero W (with the OS booting from the SD card).



cramfs and squashfs seem like good candidates, however I have no need to save space on the SD card and I'm concerned that decompressing the filesystem at each boot will slow things down.



Basic Linux permission and metadata support would be a plus as it will be used to mount the root system.










share|improve this question







New contributor



Jeremiah Rose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm trying to figure out which read-only filesystem I should use to achieve fastest possible boot time in a stripped down embedded system using the Raspberry Pi Zero W (with the OS booting from the SD card).



cramfs and squashfs seem like good candidates, however I have no need to save space on the SD card and I'm concerned that decompressing the filesystem at each boot will slow things down.



Basic Linux permission and metadata support would be a plus as it will be used to mount the root system.







embedded






share|improve this question







New contributor



Jeremiah Rose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question







New contributor



Jeremiah Rose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question






New contributor



Jeremiah Rose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 1 hour ago









Jeremiah RoseJeremiah Rose

1062




1062




New contributor



Jeremiah Rose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Jeremiah Rose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • Decompression has a cost, but reading from flash has a cost too, and you do more of that when data is not compressed. To add to the confusion, SD performance varies wildly from model to model and brand to brand. There is no way to get a correct answer without benchmarking your specific hardware.

    – Oh My Goodness
    56 mins ago











  • Yes I think you're right, a correct answer to this question will require actual benchmarks on a Rpi0w. Other things to take into account is the availability / use of XIP, and the ability to store the OS' critical boot data sequentially.

    – Jeremiah Rose
    6 mins ago



















  • Decompression has a cost, but reading from flash has a cost too, and you do more of that when data is not compressed. To add to the confusion, SD performance varies wildly from model to model and brand to brand. There is no way to get a correct answer without benchmarking your specific hardware.

    – Oh My Goodness
    56 mins ago











  • Yes I think you're right, a correct answer to this question will require actual benchmarks on a Rpi0w. Other things to take into account is the availability / use of XIP, and the ability to store the OS' critical boot data sequentially.

    – Jeremiah Rose
    6 mins ago

















Decompression has a cost, but reading from flash has a cost too, and you do more of that when data is not compressed. To add to the confusion, SD performance varies wildly from model to model and brand to brand. There is no way to get a correct answer without benchmarking your specific hardware.

– Oh My Goodness
56 mins ago





Decompression has a cost, but reading from flash has a cost too, and you do more of that when data is not compressed. To add to the confusion, SD performance varies wildly from model to model and brand to brand. There is no way to get a correct answer without benchmarking your specific hardware.

– Oh My Goodness
56 mins ago













Yes I think you're right, a correct answer to this question will require actual benchmarks on a Rpi0w. Other things to take into account is the availability / use of XIP, and the ability to store the OS' critical boot data sequentially.

– Jeremiah Rose
6 mins ago





Yes I think you're right, a correct answer to this question will require actual benchmarks on a Rpi0w. Other things to take into account is the availability / use of XIP, and the ability to store the OS' critical boot data sequentially.

– Jeremiah Rose
6 mins ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Jeremiah Rose is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f522750%2fread-only-filesystem-for-fastest-boot%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Jeremiah Rose is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Jeremiah Rose is a new contributor. Be nice, and check out our Code of Conduct.













Jeremiah Rose is a new contributor. Be nice, and check out our Code of Conduct.












Jeremiah Rose is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f522750%2fread-only-filesystem-for-fastest-boot%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...