TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

We achieved a 6-fold increase in Podman startup speed

403 pointsby DrinkWaterabout 2 years ago

17 comments

hghidabout 2 years ago
I'm all for improvements to pod startup times etc, but the general idea of putting more software into cars is not that appealing. I recently broke down in the highlands of Scotland in a fairly new car with the family - it was a horrible experience. It was made worse by the fact that there was nobody close that had a clue what to do with the car. The breakdown service arrived promptly, plugged the diagnostic tool into the car, proclaimed it broken, called a tow truck and left - two days later we arrived home. Had I been in a less complex car, a local garage could most likely have fixed the problem and sent us on our way. The sophistication and gadgets in modern cars are great until something goes wrong then they fail hard. Small local garages that used to be a life saver are next to useless now as they don't have the tools and knowledge to fix a mobile data centre.
评论 #35553369 未加载
评论 #35553249 未加载
评论 #35553056 未加载
评论 #35553090 未加载
评论 #35560468 未加载
评论 #35565342 未加载
评论 #35553012 未加载
评论 #35555406 未加载
评论 #35559118 未加载
评论 #35554542 未加载
rwmjabout 2 years ago
<i>&gt; If the backup camera or other sensors were to run as containers, we needed to improve the starting speed significantly.</i><p>I think I see the problem already. Why does anyone think its a good idea to put everything in an embedded system into a container? Particularly as everything comes from a single vendor and so the usual argument about <i>&quot;but libraries are too hard!&quot;</i> doesn&#x27;t apply.
评论 #35553120 未加载
评论 #35552886 未加载
评论 #35554423 未加载
评论 #35553997 未加载
评论 #35555022 未加载
评论 #35552866 未加载
评论 #35555122 未加载
评论 #35553592 未加载
评论 #35553379 未加载
评论 #35554924 未加载
评论 #35554917 未加载
com2kidabout 2 years ago
&gt; we did was analyze what happens when Podman starts a container and why it takes so long. It turns out there was a lot of low-hanging fruit.<p>I&#x27;ve done this analysis for lots of software before, Windows has a <i>really</i> nice tool called Process Monitor that I&#x27;ve used to find huge slow downs before. Point it at a process and it&#x27;ll tell you the every bit of IO that the application does, and at that point you can just start digging and opening bugs.<p>IMHO almost every piece of software of any significant size horribly misbehaves. Opening the same file again and again, writing out lots of tiny temp files, reading the same key from the registry (or some config file) over and over again , and worst of all, using fixed timeouts waiting for a task to complete instead of doing the work to make things properly event based.<p>On that last note, timeouts instead of event callbacks (or some sort of signaling system) is the cause of so much slowness across our entire industry. If something you are doing on a computer takes a human noticable amount of time, and you aren&#x27;t throwing around tens of GBs of data or waiting on a slow network, then you are flat out doing something wrong.
manojldsabout 2 years ago
Why does a car even need to run containers? It&#x27;s a known hardware, so why containers? Feels like lazy engineering.
评论 #35555037 未加载
评论 #35554473 未加载
评论 #35553544 未加载
评论 #35561017 未加载
scientismabout 2 years ago
This should be part of the &quot;How to Overengineer Anything and Everything&quot; series.
kobalskyabout 2 years ago
podman rootless and startup speed was what lured me in, sadly after a couple of years I&#x27;ve switched back to docker, bit happily in rootless mode now too.<p>podman works fine until it doesn&#x27;t. My hypothesis is that it has some fundamental design philosophy that makes it brittle. Properly cleaning up doesn&#x27;t exist in their vocabulary.<p>For example, a cancelled download or image extraction can bring the whole thing down at the worst time, you have to hunt down the corrupted folder and remove so that anything works again.<p>A failed compose startup can leave the network in a undefined state hard to diagnose and impossible to recover without wiping some folders within &#x2F;run&#x2F;user and killing some rogue processes manually.<p>This is further cemented by the fact that a lot of minor issues are answered with: podman system reset, which reeks of rm -fr node_modules.<p>docker was always a pleasure to work with, I still don&#x27;t understand why I suffered with podman so long.
评论 #35565339 未加载
nickjjabout 2 years ago
I&#x27;m happy to see improvements like this.<p>In 2018 I opened a github issue around container startup time[0] with Docker. A couple of things have changed since that issue but generally speaking we are talking about ~5s (containers) vs 150ms (no containers) to start a realistic process that depends on networking and other things you&#x27;d expect in a typical web app.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;moby&#x2F;moby&#x2F;issues&#x2F;38077">https:&#x2F;&#x2F;github.com&#x2F;moby&#x2F;moby&#x2F;issues&#x2F;38077</a>
anaganiskabout 2 years ago
Who said AI is killing dev jobs, now Devs have an alternative employment as a car mechanic. Drop kubernetes or VMs into the car and DevOps guys can also join. It would be so fun to hear &quot;Umm your ingress seems to use older API, I have to update it for the gearbox to engage&quot; and then see them run kubectl apply.
jensenboxabout 2 years ago
I am very likely one of only a few people but it really irritates me when the term &quot;fold&quot; is used when they really mean &quot;times&quot;.<p>Folding a piece of paper (just like binary numbering) 6 times will provide you with a stack of 64 sheets.<p>They did not have a performance increase of 64 times.<p>This is identical to the idea of stating &quot;magnitude&quot; as being the number of times based on 10.<p>How wrong am I?
评论 #35577416 未加载
mkoubaaabout 2 years ago
All this because nobody wants to change the ELF loader to better isolate dependencies of binaries
评论 #35558881 未加载
mongolabout 2 years ago
I didn&#x27;t know they used containers in cars. I guess it makes sense when you think about it but it always felt like more of an &quot;enterprise&quot; solution to me.
评论 #35553779 未加载
IceWreckabout 2 years ago
Why would you run podman inside a vehicle&#x27;s computer. Cool nonetheless.
评论 #35553351 未加载
评论 #35555989 未加载
crestabout 2 years ago
Adding a `sleep $DELAY` to a startup script isn&#x27;t something to brag about :-P. <i>scnr</i>
评论 #35553239 未加载
perlgeekabout 2 years ago
Do we know which cars specifically run their applications in containers?
评论 #35553399 未加载
shrubbleabout 2 years ago
So it was poorly thought out or poorly designed all this time, then they fixed the obvious errors? That was my impression after reading the article...
评论 #35555121 未加载
评论 #35559263 未加载
hamdouniabout 2 years ago
Nice to see improvements in podman startup and how the team achieve it...<p>Constraints (car env) drive creativity !
polskibusabout 2 years ago
Can podman be used instead of docker on Windows for minkube? Would it work faster than docker in such case?