Shutdown..
Pardon me, but there's nothing wrong with using singletasking systems,... at least I'm pretty comfortable for (well, almost) any type of OS...JAAman wrote:anytime you are doing more than one thing at a time you are multi-tasking, plus, your users will either only be simple-minded idiot=users
XBOX is single-tasking too
I support no virtual memory in my OS!JAAman wrote:so what does your kernel do if the HDD suddenly stops working, taking your page file with it
- well, at least now, we'll see in the future
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
to keep this simple: this is exactly what i meant -- only simple-minded idiot-users use xbox...Pardon me, but there's nothing wrong with using singletasking systems,... at least I'm pretty comfortable for (well, almost) any type of OS... Smile
XBOX is single-tasking too Smile
xbox is designed for games (and only poor quality games at that... there has never been, nor ever will be, a quality game released for any console) -- not power users -- you will never find programmers or graphics people using it... or me either for that matter (i have quite a few programs running right now...)
you might as well use my refrigerator as an example... my refrigerator isnt used for those purposes either, but i dont call it an example of why nobody need multi-tasking...
- Colonel Kernel
- Member
- Posts: 1437
- Joined: Tue Oct 17, 2006 6:06 pm
- Location: Vancouver, BC, Canada
- Contact:
Besides, the XBox is multi-tasking.
This is why I beat dead horses, because their ghosts keep roaming around the forum in the form of ignorant hearsay...
<edit>
My $0.02 on the original topic -- For desktop and laptop users, the best solution to the "shut down" problem is to have a sleep/suspend function that actually freakin' works. It only happens with tight OS/driver/hardware integration. IMO that's not a bad thing.
Yes, I'm making a thinly-veiled plug for Apple. No, I don't work there.
</edit>
This is why I beat dead horses, because their ghosts keep roaming around the forum in the form of ignorant hearsay...
<edit>
My $0.02 on the original topic -- For desktop and laptop users, the best solution to the "shut down" problem is to have a sleep/suspend function that actually freakin' works. It only happens with tight OS/driver/hardware integration. IMO that's not a bad thing.
Yes, I'm making a thinly-veiled plug for Apple. No, I don't work there.
</edit>
Top three reasons why my OS project died:
- Too much overtime at work
- Got married
- My brain got stuck in an infinite loop while trying to design the memory manager
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
It really depends on what it's designed for. A game console is designed to really only have one game running at a time, and to dedicate the entire system and all of it's resources to that one game. On the other hand, a desktop system is designed to be productive, e.g. having a web browser , a word processor, an IM client, and an MP3 player open.JAAman wrote:to keep this simple: this is exactly what i meant -- only simple-minded idiot-users use xbox...Pardon me, but there's nothing wrong with using singletasking systems,... at least I'm pretty comfortable for (well, almost) any type of OS... Smile
XBOX is single-tasking too Smile
xbox is designed for games (and only poor quality games at that... there has never been, nor ever will be, a quality game released for any console) -- not power users -- you will never find programmers or graphics people using it... or me either for that matter (i have quite a few programs running right now...)
There is nothing wrong with singletasking operatings systems, and they're quite useful in some circumstances: game consoles, embedded processors, etc. On desktop systems, the end user usually wants their 2/3 favourite programs running and to be able to switch between them, copy data between programs without closing and reopening the other for each small change, and most people do not want to purchase a second computer just so they can do research on one while typing on another.
My OS is Perception.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
I take this is only an opinion, since I beg to differ. Some console games have far better gameplay, graphics and everything than the top range of computer games - and even that is hardly a comparison. I know of games running on a 14 year old 4-cpu NUMA system, I know games that have fewer glitches than the latest unreal tournament, and there are games that have very high replayability rates that surpass those of most computer games.JAAman wrote:there has never been, nor ever will be, a quality game released for any console
Now, do you dare to define "quality"?
-
- Member
- Posts: 204
- Joined: Thu Apr 12, 2007 8:15 am
- Location: Michigan
I, myself, don't know enough details to explain exactly why, but my reasoning is that it would probably have to do with the reasons why this is a valid bug report.jal wrote:Why?madeofstaples wrote:if an OS implemented such a design where it wrote any modified data to the hard drive as soon as possible in case of a shut down request... wouldn't that severely shorten the life of the hard drive, especially laptop hard drives?
I guess I just figured, from that bug report, that since it distinguishes the amount of cycles laptop hard drives can handle, it would be lower than desktop hard drives... however I guess it's just relevant because the bug is for a laptop power-saving mode, so maybe notjal wrote:And why especially on laptop hard drives?
err... If I open a document, modify it, and save it, depending on how much editing I do, your system could write to the hard drive hundreds upon hundreds of times. Current popular methods write only once.jal wrote:You might have a point for flash drives, but still, in general all modified data needs to get written, whether automatically or by the user.
- Colonel Kernel
- Member
- Posts: 1437
- Joined: Tue Oct 17, 2006 6:06 pm
- Location: Vancouver, BC, Canada
- Contact:
It's not quite that simple. Consider the following:MessiahAndrw wrote:It really depends on what it's designed for. A game console is designed to really only have one game running at a time, and to dedicate the entire system and all of it's resources to that one game.
- The XBox 360 has three processor cores. In order to take full advantage of the hardware, games have to use multiple threads.
- A lot of games are written to do low-priority things like audio on a background thread.
- More and more games are also doing other things like AI and collision detection on background threads, again to try and speed things up.
- There are multiplayer features like live voice chat that could be implemented separately from the game itself, which would be really hard to do without multitasking.
Top three reasons why my OS project died:
- Too much overtime at work
- Got married
- My brain got stuck in an infinite loop while trying to design the memory manager
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
By multi-tasking I was referring to multiple independent programs running in their on memory spaces. Although you could argue that multi-threading is multitasking.Colonel Kernel wrote:It's not quite that simple. Consider the following:MessiahAndrw wrote:It really depends on what it's designed for. A game console is designed to really only have one game running at a time, and to dedicate the entire system and all of it's resources to that one game.Consoles today are not as brain-dead as they used to be.
- The XBox 360 has three processor cores. In order to take full advantage of the hardware, games have to use multiple threads.
- A lot of games are written to do low-priority things like audio on a background thread.
- More and more games are also doing other things like AI and collision detection on background threads, again to try and speed things up.
- There are multiplayer features like live voice chat that could be implemented separately from the game itself, which would be really hard to do without multitasking.
And I know the XBox 360 runs OS services, update programs, XBox Live, etc in the background.
I'm all for multithreading systems, I mentioned game consoles and embedded systems to stick up for the little guy who's writing a monotasking OS.
My OS is Perception.
I'm almost 2 m tall, do you even dare to call me, little?MessiahAndrw wrote:I mentioned game consoles and embedded systems to stick up for the little guy
(j/k, but with that 2 metres I'm serious, I have 190 cm )
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
- ByrdKernel
- Posts: 2
- Joined: Sun Dec 02, 2007 12:52 am
Ah yes...this reminds me of the old #osdev days, back on the original server (not freenode, either). The only difference is that I don't see Scott (from NZ) roaming around spouting that any code that works must be right, whether it's crap or not. (I'm sure Brendan's probably the only one that'll recognize any of that, unless KJ, Jim, Scott, or one of the others in the old crew are here in disguise.)
FWIW, and back on-topic, I think both methods need to be explored further, as well as the slow boot-up. Having a functional suspend and hibernate is vital to doing a halfway decent notebook-capable OS, but a proper shutdown that doesn't take a year is important for OS's of all stripes.
-Mike
FWIW, and back on-topic, I think both methods need to be explored further, as well as the slow boot-up. Having a functional suspend and hibernate is vital to doing a halfway decent notebook-capable OS, but a proper shutdown that doesn't take a year is important for OS's of all stripes.
-Mike
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
On a modern computer, with ~100 drivers, servers, and programs running, it should realistically only take a few seconds to send a quit message. Most programs will quit straight away, a few will write to disk. Some drivers might wait until the hard drive spins down. All of this shouldn't take more than 5-10 seconds. Why does Windows take between 20 seconds to a few minutes (depending on the computer's speed)?
My OS is Perception.