有使用 SANOS 操作系统内核的经验吗?

发布于 2024-07-17 12:26:54 字数 444 浏览 4 评论 0原文

当我浏览一个开源内核时,我遇到了 SANOS ,感觉像是值得的东西作为开源保持活力。 为了使其达到现代标准,需要进行以下增强:

  • 支持多个 CPU/内核
  • 添加 IPv6(当前仅支持 IPv4)
  • 能够运行 8192 个并发线程
  • 能够支持 JDK 1.6 所需的额外模拟

因此,我有以下内容问题:

  1. 这里有人想分享使用 sanos 的经验吗?
  2. 吸引其他愿意贡献时间使其变得更好的人的最便捷方法是什么?
  3. 它在哪些方面比 BSD 和/或 Linux 中使用的内核更好?
  4. 将 Ruby 移植到这个平台有什么好处吗?

I was browsing for an open source kernel when I ran across SANOS which feels like something worth keeping alive as open source. To bring it up to modern standards, the following enhancements need to occur:

  • Support for Multiple CPUs/Cores
  • Add IPv6 (currently only supports IPv4)
  • Ability to run 8192 concurrent threads
  • Ability to support additional emulation required for JDK 1.6

So, I have the following questions:

  1. Does anyone here have experiences they would like to share using sanos?
  2. What is the most expedient way to attract others who would like to contribute time to make it better?
  3. In what ways is it better than either the kernel used in BSD and/or Linux?
  4. Is there merit in porting Ruby to this platform?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

山田美奈子 2024-07-24 12:26:54

我必须同意帕克斯的观点,但我会更进一步。 如果您确实对构建 JAVA 操作系统感兴趣,为什么不将其作为新的 Linux 发行版在 Linux 内核之上进行呢。 从内核开始,添加足够的用户级软件来启动并运行 Java,然后启动 java“shell”。 通过这种方式,您可以获得您想要的 Java 的所有好处,而无需重新发明操作系统轮子的痛苦和痛苦。 这正是我在 2001 年编写的《嵌入式 Linux》书中对 minicom 示例所做的操作。大部分示例都可以通过 Google 图书 (http://books.google.com/books?id=MFjhhiIMMHIC&printsec=frontcover)。

I have to agree with Pax, but I'll take it a step further. If you're really intersted in building a JAVA OS, why not just do it on top of the Linux kernel as a new linux distribution. Start with the Kernel, add just enough user level software to get Java up and running and then start up a java "shell". This way you get all the benefits of Java that you desire without the pain and agony of reinventing the OS wheel. This is exactly what I do with my minicom example in my Embedded Linux book written in 2001. Most of the example is available through Google Books (http://books.google.com/books?id=MFjhhiIMMHIC&printsec=frontcover).

后知后觉 2024-07-24 12:26:54

我会保持简短。 我不想泼冷水,但从商业角度来看,我认为维护 SANOS 是浪费时间。

到处都是 FOSS 项目的残骸,这些项目本来是个好主意,但结果证明是不必要的,或者从未获得足够的支持。 你可能会得到一小群人来从事这样的项目,但目的是什么。 BeOS、Haiku、ReactOS 等的安装基础在哪里?

让我们说清楚。 Linux 在开发工作方面遥遥领先,其他项目需要数十年的努力才能赶上。 我在这里谈论的不是技术优点(尽管情况也可能如此),而是对业务思维方式的渗透。 不幸的是,商业才是金钱的来源。

您列出的这四个项目符号已经在 Linux 中可用,因此通过将它们添加到另一个操作系统中可以获得什么 - 人们可以直接使用 Linux。

回答您的具体问题(请注意,这个答案大部分是我的意见 - 我的妻子会很乐意经常且无需太多提示地告诉您,我以前错了 -:)

< EM>1。 这里有人想分享使用 SANOS 的经验吗?

    不,我从来没有真正听说过它,直到这个问题出现在 SO 上(这应该有点证明我的说法是正确的,即它可能永远不会重要)事物的计划)。

2. 吸引愿意贡献时间使其变得更好的其他人的最便捷方法是什么?

     这是一个好的开始,因为您已经让一大群极客意识到了这一点。 我会再货比三家,你需要扩大该干部的规模。

3. 它在哪些方面比 BSD 和/或 Linux 中使用的内核更好?

    不知道。 我对这个项目的兴趣为零,因为我更关心经营企业和与家人共度时光,而不是将我的时间免费贡献给一个我认为不会有任何进展的项目(我并不是想在那里表现得令人讨厌或居高临下) ,这是我的真实信念)。 鉴于它采用极简方法,它可能会更快。

4。 将 Ruby 移植到这个平台有什么好处吗?

    除了作为移植练习之外,可能不会。 Ruby 人群不会仅仅因为您提供了 SANOS 就蜂拥而至。 他们也必须谋生。

I'll keep it short and simple. I don't want to rain on your parade but, commercially, I think maintaining SANOS is a waste of time.

The landscape is littered with the corpses of FOSS projects that were a good idea but turned out to be unnecessary or never gathered enough support. You may get a small cadre of people working on a project like this but to what end. Where are the installed bases for BeOS, Haiku, ReactOS et al?

Let's be clear. Linux is so far ahead in terms of development effort that those other projects would take decades of effort just to catch up. I'm not talking about technical merit here (although that may be the case as well) but penetration into the mindsets of business. And business is, unfortunately, where the money comes from.

Those four bullet items you list are already available in Linux so what would be gained by adding them to another operating system - people can just use Linux.

To answer your specific questions (be aware that much of this answer is my opinion - my wife will be happy to tell you, frequently and without much prompting, that I've been wrong before -:)

1. Does anyone here have experiences they would like to share using SANOS?

     No, I'd never actually heard of it until this question popped up on SO (which should go a little towards justifying my statements that it will likely never be important in the grand scheme of things).

2. What is the most expedient way to attract others who would like to contribute time to make it better?

     This is a good start since you've made a large community of geeks aware of it. I'd shop it around some more, you need to get the size of that cadre up.

3. In what ways is it better than either the kernel used in BSD and/or Linux?

     No idea. I have zero interest in this project since I'm more concerned with running a business and spending time with the family than donating my time for free to a project that I think will go nowhere (I'm not trying to be obnoxious or condescending there, that's my actual belief). Given it's minimalist approach, it's possible that it could be faster.

4. Is there merit in porting Ruby to this platform?

     Other than as an exercise in porting, probably not. The Ruby crowd are not going to swarm across to SANOS just because you make it available. They have to earn a living as well.

谜兔 2024-07-24 12:26:54
  • 吸引其他人的最便捷方法是使其成为一个更有用、更实用的操作系统,例如通过提到的四个增强功能。 一旦其他人看到操作系统的优点,他们就会像您一样想要自己开发和增强它。
  • Sanos 主要兼容 POSIX,因此它能够运行 BSD、Linux 和其他 POSIX 兼容操作系统的大多数程序。 然而,Sanos 尝试支持这些系统的最小子集,以适应其特定应用。 因此,它既具有便携性又具有速度。 与 BSD 和 BSD 相比,它的安全性仍然相对未经测试。 然而,Linux。
  • 将 Ruby MRI 移植到 Sanos 可能会有好处,它应该相当容易。

启用 JDK 1.6 最有效的方法是废弃 Win32 层(或只是 Hotspot)并移植 Kaffe 来代替它。 这应该是比较容易的,并且很容易更新。 然而,找到问题答案的最佳方式是联系 Sanos 开发团队并与他们讨论这些问题。 他们会告诉您如何提供帮助。

编辑:Sanos 的维护者 有一篇文章,涉及与其他操作系统的性能比较系统。

  • The most expedient way to attract others would be to make it a more useful and practical OS, for example by the four enhancements mentioned. Once others see the merits of the OS they will want to develop and enhance it themselves, like you do.
  • Sanos is mostly POSIX compliant, so it is able to run most programs for BSD, Linux and other POSIX compliant OSs. However, Sanos attempts to support a minimal subset of those systems, geared towards its specific application. Hence it lends itself to both portability and speed. Its security remains relatively untested compared to BSD & Linux, however.
  • There could be merit in porting Ruby MRI to Sanos, it should be rather easy.

The most efficient way to enable JDK 1.6 would be to scrap the Win32 layer (or just Hotspot) and port Kaffe in its place. This should be relatively easy, and is easy to update. However, the best place to find out the answers to your questions would be to contact the Sanos development team and discuss these issues with them. They will tell you how you can help.

EDIT: The maintainer of Sanos has a post regarding a performance comparison with other operating systems.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文