The Geek Culture Forums
Ask a Geek! MacGenius's Q&A (Page 3)
|
UBBFriend: Email This Page to Someone! This topic is 3 pages long: 1 2 3 |
next newest topic | next oldest topic |
Author | Topic: MacGenius's Q&A |
ilovemydualg4 Highlie Posts: 769 |
posted July 24, 2002 14:45
i don't mean to insult your "geniosity", but didn't we allready review those answers? ------------------ IP: Logged |
uilleann Highlie Posts: 710 |
posted July 24, 2002 15:54
Now wait a second - Mac OS 9 has no kernel, and Mac OS X had not CS. So what is exactly going on here? I've never used Mac OS X, and the application �MacGenius� is not Carbonised, so Mac OS X is not an issue. As for Mac OS not having a kernel, what do you mean? Maybe somehow it possible to have an OS without one (I should know this, but my memory isn't good), but let's say, for argument's sake, that the big heap of OS code loaded into memory at start-up time, whatever it is called, will be what I was referring to when I said "kernel". Happy? A bug in OS 9. When the Mac first came out, there was no HD. So the Finder was programmed so that the floppy drive is above priorty than other processes. This is not so in Mac OS X, which better supports mulitasking and the FD is passe anyway. Other copy operations don't tie up the CPU at all, except burning a CD or DVD, which require lots of CPU power. That's just the sluggish performance of Windows. It does that whenever you do something that requires CPU power. As for the problem of Explorer progress dialogs locking out another Explorer window or, worse, most of Explorer such that the background fails to redraw after I minimise windows (that don't appear to actually go anywhere), it seems to be either overkill race condition checks, or just exceeingly poor multi-threading, where it is just reluctant to create a new thread for anything. I'm not sure, I've just had Explorer be a nuisance this week Open the extension, open the icl8 resource, and open the icon that appears at start-up. Then hack it up One of the last versions of OS 9, and only then do the programmers remember to fix up minor bugs like this? I had loads of fun, thank you - uilleann IP: Logged |
SpikeSpiegel Uber Geek Posts: 810 |
posted July 24, 2002 16:44
soo wait can i post my absolutely inane and pointless questions here too? ------------------ Real funny scotty now beam down my clothes IP: Logged |
ilovemydualg4 Highlie Posts: 769 |
posted July 24, 2002 17:08
quote: i'd love to hear them.... just keep 'em a bit on the mature side, eh? i agree with u... ------------------ IP: Logged |
SpikeSpiegel Uber Geek Posts: 810 |
posted July 24, 2002 19:21
*gasp* that would mean that i would have to act my own age or even older, neh? i think i would prefer to act like an 8 year old ------------------ IP: Logged |
uilleann Highlie Posts: 710 |
posted July 25, 2002 04:12
On any well-designed system, I/O transfers are not supposed to take any CPU time at all, well, next to none. A process will ask to store or retrieve some data (or whatever), the OS will make a request to the I/O controller on its behalf, and the process will be put in the I/O blocked state until the data is available. Once the data is transferred, by DMA to or from the RAM, the I/O controller sends an interrupt to the CPU, and the OS collects it, and marks the process that asked for the data as being ready again (it got what it wanted), and when it's turn comes around, the OS scheduler gives it some more CPU time. In theory. Now, alas, I only know theory, and part of my reason for asking was probably to find out why computers have such a strange tendency to do all file I/O as programmed I/O, where the CPU actually has to transfer all the data between the I/O controller and the RAM, little piece at a time. In such cases, the CPU is in heavy use for all file I/O, and thus it can be difficult to keep up with the CD burner on older machines. Another factor on older machines might be RAM shortage and paging from a machine in use, but any other heavy hard disc access will help prevent the CD burning app getting adequate hard disc access to read in the data being burnt. it doens't make any difference at all whether it is floppy or not, it is the fact that it is just a slow drive, just liek a zip 100 As for my Mac, my Zip drive is SCSI, and that is a different matter - it seems like the SCSI hardware is generating a very low-level interrupt/event, and then taking over the CPU to do the transfer. I say interrupt, because SCSI transfers stop my MP3 player altogether, and that runs off an event (VBL task) that pre-empts all other tasks - I even get to listen to music with a bomb dialog on the screen, let alone when an application has locked up. dvds can take all of your 2 gigahertz to get them ready, though you may have implied that Mac OS X is different, and like with any other pre-emptively multitasked OS, the amount of CPU time it wants to use is completely irrelevant, because the OS will give every process a fair share of the CPU and there will only be any slowdown when a large number of tasks are all getting hungry for CPU time. I'm not sure about Windows, though - sometimes, it just goes and locks itself out of the hard disc, or something... it's an odd OS. I mean, how can a ColdFusion server thread trapped in an infinite loop stop Explorer from accessing the hard disc. Explorer has enough CPU power (pre-emptive scheduling), so maybe the server just had disc I/O all tied up (I have no idea what Windows' hard disc scheduling is like), but why does an infinite loop need extremely heavy hard disc access? Ah well, enough for now :) - uilleann IP: Logged |
Bregalad Assimilated Posts: 396 |
posted July 25, 2002 19:43
I have no idea what method the old MacOS used for floppy drive access, but it completely halts anything else you might want to do. It's barely possible to even move the mouse cursor while a floppy disk is being formatted. That indicates a very primitive I/O and could be one of the reasons why Apple was so insistant that the iMac not contain such a drive. IP: Logged |
uilleann Highlie Posts: 710 |
posted July 26, 2002 17:19
Firstly, what's the real difference between formatting, where a system modal dialog blocks the OS out, and Disk Copy that can write an entire disc image without notably using any CPU time? And even though disc I/O in Mac OS is primitive, it's no better in Windows - the only difference in Windows is that the only thing that stops respoding is the Explorer window involved, because someone Microsoft are too stupid to thread Windows properly such that I/O operations don't tie up the interface. And given that IE and Explorer are the same app in the end, an Explorer window that's tied up can (and has) locked IE out on me... (or something to that effect) - uilleann Edit: With the simplified copy dialogs in 8 upwards, you can no longer see when it is writing to the different parts of the disc, and if it still verifies copies (DOS verify does it exceedingly fast). IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 06, 2002 12:52
testing... IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 06, 2002 12:55
Reply to dg4... 1: who gives a shit if it has a kernel or not? From the looks of things, you do, for making such a big deal about it. 2: it doens't make any difference at all whether it is floppy or not, it is the fact that it is just a slow drive, just liek (neat spelling dg4!-MG)a zip 100 3: if you have a shity computer, burnign a cd would take most of your processor power, but it really doesn't need all that much 4: My one disagreement: dvds can take all of your 2 gigahertz to get them ready, though you may have implied that 5: I ALLREADY SUGGESTED THE RESEDIT SOLUTION AND WE SAID IT WOULDN'T WORK! 6: i hope you are having more fun IP: Logged |
GameMaster Highlie Posts: 670 |
posted August 06, 2002 18:49
Kernel? To clarify, U, is right, the OS, EVERY OS, os made up of two or three things: 1. kernel 2. helper programs (the part of the OS we see) 3. (optionally) a GUI A Mac (prior to OS X) lacked a commandline interface, which meant that the parts of the kernel we interact with are abstracted through through the GUI. This means that when a problem is encountered the OS would print a pretty error box and the system would restart. This meant that hacking the OS to fix errors isn't as easy as with DOS or *nix systems. I/O Prossess Driven I/O uses Polling to coninually ask the keyboard "Are you done yet?" which means that no other prossess can work, the Prossessor is completly monopolized by the I/O access loops. This type of memory map is how the original DOS worked, and how a lot of programs that monitor status in cars/planes/ect. They have no other work to do except see if a deivice is giving imput or not. The Slowdown So, yes, it will take time writting to a crappy drive, but not clockcylces. So sounds like you should have spent the money for the second prossessor on better mass storage devices. :P The DVD question is also about decoding the DVD, remember that all data is, is 1 and 0 it takes prossessor time to intrepret those 1's and 0's into other 1's and 0's that your monitor reads. Perhpas Dualg4 needs to take Computer Orginization and ASM... Let me ask a very important question to dualg: Another possible slowdown is Pipline Hazards, esspecially true with multipule prossessor machines. The types of hazards are: Speeding up Remember this formula: IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 08, 2002 12:56
Originally posted by GameMaster: A Mac (prior to OS X) lacked a commandline interface, which meant that the parts of the kernel we interact with are abstracted through through the GUI. This means that when a problem is encountered the OS would print a pretty error box and the system would restart. This meant that hacking the OS to fix errors isn't as easy as with DOS or *nix systems. -Actually, the reason why it was harder to make the OS fix errors was because the OS rarely ever screwed up. And what's this about *'ing the first letter of Unix? I/O requires some prossor time, always. Even it just flips the bit to tell the DMA to start transfer. There are 2 models of I/O: Prossess Driven I/O uses Polling to coninually ask the keyboard "Are you done yet?" which means that no other prossess can work, the Prossessor is completly monopolized by the I/O access loops. This type of memory map is how the original DOS worked, and how a lot of programs that monitor status in cars/planes/ect. They have no other work to do except see if a deivice is giving imput or not. -Correct Burrning a CD is just I/O to a device, the prossor isn't bothered by it... What is slowed down is if the bus is still being used by the burning, this isn't a problem after the CDRW or other mass staorage device's write buffer has all the data, but untill that is the case, the prossessor(s) have to use their cashe, which means is there is a cashe miss the miss time will be HUGE because it'll have to wait for the buss to become clear. Moreover, most architectures for dual prossessors, dualg, use a write through which means that if you change something in memory instead of just changing it the cashe it has to write the change out to main memory as well (or the other prossessor wouldn't know of the change) which means that even if the requested item was found in the cashe, if you modified it in anyway it would have to be written back out to main memory and you'd be stuck with another great miss time. Granted that the bus and DMA is fairly fast, but if you are multitasking while burning, you'll notice a slowdown because the write buffers on most CDRWs isn't large enough and requires the bus a number of times. So, yes, it will take time writting to a crappy drive, but not clockcylces. So sounds like you should have spent the money for the second prossessor on better mass storage devices. :P -I don't have a crappy drive nor a crappy Mac. CDR's don't need to be encoded for use on comsumer DVD players. And CDR's don't hog the system. The DVD question is also about decoding the DVD, remember that all data is, is 1 and 0 it takes prossessor time to intrepret those 1's and 0's into other 1's and 0's that your monitor reads. Perhpas Dualg4 needs to take Computer Orginization and ASM... -Yeah sure, and while your at it, dg4, take math 101. (lol!) Let me ask a very important question to dualg: Another possible slowdown is Pipline Hazards, esspecially true with multipule prossessor machines. The types of hazards are: Prossessor resources being the least cause of slowdown, I have to laugh at all this worry about buring clockcylces... I/O is slow, Memory access is slow, the prossessor can handle 5 instructions at a time, but every device uses the BUS (which is fast-ish) and every other device is SLOW (in comparison to the prossessor). You want to speed up any system, what you do is get faster Memory (not more memory mind you) and a single prossessor with a large cashe and then turn off Virtual memory. Also, don't multi task as much and only use programs with good locality of reference (decrease memory acssess and raise cashe hits) Remember this formula: -I used to do all my work on a Macintosh Portable backlit. (I still have it.) When this Mac was formatting a floppy, the entire CPU was focused on doing the disk work. Running System 7.0.1\, you couldn't do anything while the disk was formatting. (Not to say you can in OS 9!) Even if you moved the cursor, it would be slow and it would skip. This is why Mac OS X is such a Great Leap Forward, because OS 9 is built upon the old MacOS's. Though it is not so bad, and on a G3 i/o is pretty fast actually. And it hardly ever crashes. MG
IP: Logged |
Tyler Durden Super Geek Posts: 200 |
posted August 08, 2002 13:10
I was told by my former roomate I could obtain OS X without the GUI and it would work on my AMD Duron machine... true or false? if return true, then where can I get it? -- Jack's Contemplative Mind ------------------ IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 08, 2002 14:17
True, and you can get it at www.freebsd.org IP: Logged |
uilleann Highlie Posts: 710 |
posted August 09, 2002 21:11
Quoting GameMaster: U, I/O requires some prossor time, always. I know that, I was using relative terms there. Macs use Interups... I know PhAtfiSh was only getting PIO access to his DVD drive until some kindly app installed offered to bump it up to DMA access, and it got a whole lot faster. I tried to do the same to my work PC's hard disc access, and I think it's still stuck at programmed I/O. Unless there is some third type of I/O that sits somewhere in between the two, that we don't know about. ...the prossessor tells the DMA to load the data into special registers... The DVD question is also about decoding the DVD ...it takes prossessor time to intrepret those 1's and 0's into other 1's and 0's that your monitor reads. Quoting MacGenius: And what's this about *'ing the first letter of Unix? If it worked for me, it shound work for you, and if it doesn't your Mac is really screwed up At start-up, the icon being shown is not the one shown in the Finder, but a different icon. The four filename type icons are "Joliet", "ISO 9660", "ISO/Joliet" and "Rockridge". I have no CDs that use both Joliet and ISO 9660 together, that I know of, so maybe that icon was indeed created purely for display at start-up. Changing it will obviously fix the problem, but Murphy's law says that one day, I'll get a CD mount with an extension icon...
- uilleann IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 13, 2002 12:22
Quoting uileann... And what's this about *'ing the first letter of Unix?[/b] Well, It's either *NIX or *NUX. Oh, and here's a question for MacGenius's Q&A: when are you and dualg going to stop bitching at each other, you in particular? Hmm...let me see. I've already said this before, but Dualg started it. if you rewind to page 1, you will see that I wasn't in the intention of fighting with anyone. Dualg obviously got mad because I couldn't awnser the question. For crying out loud, dg4, "MacGenius" is just a name. I chose it because I am kinda like that guy in the Joy of Tech with the MacGenius tshirt only I carry around a WallstreetG3 instead of a iBook. Some people like dualg see the name macGenius and think that I know everything about macintosh that you could imagine. Fact is, I don't. if you or someone has a question I can't awnser, instead of starting a "flame thread" you can help me find a solution. after all, two brains are better than one. I will be very happy to stop this fight if dg will comply. Me in particular? gimme a break. - MG IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 13, 2002 12:42
quote: Ok, maybe I was on the sarcastic side there. Here's a better explanation... The same reason why a PC (Intelx86) version of Linux won't run on a Mac without Virtual PC, and SuSE Linux PowerPC won't run on a PC, Mac OS X cannot run on a PC. It is true that it is Linux-based which is a cross-platform OS, but it is programmed for PPC, same way x86 Linux is programmed for x86 and you need VPC to run it. In other words, it is incompatible. Now if you can run PC OS's on a Mac, why can't you do the opposite? Um, let's go back to 1984. You see, IBM made their computers for ontheshelf parts availible at any hobbist store. And Windows was written for ontheshelf parts, and this is how the PC cloning came along and why IBM can't do anything about it. Steve Jobs & Company, on the other hand, wisely chose to program their own ROMs, which they had copyright to unlike the IBM roms which everybody could copy. So nobody can make mac emulators or clones w/o Apple's consent. By making a PC emulator, Connectix is basically making a PC clone. Even though Windows is copyrighed, Connectix buys rights to it, much like Compaq or Gateway. However, with Apple it is not so. The only Mac Emulator that I saw yet for a PC was one that emualted a Mac Plus... But what can you do on that? And you need to make a copy of a Mac Plus ROM so that company that Makes is won't get in legal trouble. And you need boot disks too. In other words, it can't be done. I suggested FreeBSD because Mac OS X is based on that. If you don't like Fbsd, hey, it's never been a better time to get a Mac. You can get a pretty decent eMac for only a grand...and you can always but used models like me. (PowerBook G3, 8/192, 300MHZ, DVD, SuperDisk, ZIP 100, 3 batts, charger, P/S...$650). MG
IP: Logged |
ilovemydualg4 Highlie Posts: 769 |
posted August 13, 2002 15:37
quote: mg.... i don't mean to be competative here, but you can obtain it, weather it would work is another story. You can actually get darwin, (the core of mac os x) for an x86. i have to go out to dinner now, but i'll get you a link this evenign ------------------ IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 19, 2002 20:15
Dualg4, have you taken "microprocessorwerks" class yet? Now that might be your problem! A Wintel machine won't even mount the OS X install CD, let alone use software on it. And now, our <beginsarcasm>friend</endsarcasm> Bill Gates would like to ask MacGenius a question... IP: Logged |
BillGates Newbie Posts: 7 |
posted August 19, 2002 20:17
How many Microsoft Engineers does it take to change a light bulb? IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 19, 2002 20:18
None, they declare darkness to the standard. IP: Logged |
BillGates Newbie Posts: 7 |
posted August 19, 2002 20:19
Oh Yeah, and how many Apple Engineers? IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 19, 2002 20:20
None, they design the light so that it DOESN'T go out in the first place. >hee hee< MacGenius IP: Logged |
BillGates Newbie Posts: 7 |
posted August 19, 2002 20:21
IP: Logged |
ilovemydualg4 Highlie Posts: 769 |
posted August 20, 2002 04:26
quote: mmm.... on the darwin info page, you used to be able to download darwin for x86, without gui, obviously, andn without a lot of other things, but darwin nonetheless, still looking for a page... i burnt it to a cd and tried it once... it only works with the equipt that they tested it on ------------------ IP: Logged |
ilovemydualg4 Highlie Posts: 769 |
posted August 20, 2002 04:34
gnu-darwin people took up the task http://gnu-darwin.sourceforge.net/download.html there is info there, or for a quick fix: http://prdownloads.sourceforge.net/gnu-darwin/gnu-darwin-cd-beta2.5-x86.iso.gz ------------------ IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 20, 2002 12:13
I'm happy with the real version of Mac OS X, thank you. IP: Logged |
Zwilnik Assimilated Posts: 431 |
posted August 20, 2002 12:22
Little bit of history for you MG... IBM made their own ROMS too, however all the other components in the world's 2nd succesful personal computer (the Apple ][ being the 1st) were standard off the shelf parts. Compaq (and others) reverse engineered the custom ROM so that they had their own one that didn't incorporate any IBM code but had the same function addresses and did the same thing. They could then clone the IBM PC legaly (if imorrally). At the same time, cloners in Hong Kong just copied the IBM ROMS and mass produced cheap illegally cloned PCs. Apple used off the shelf parts too in the Apple ][, ][+ and ][e with easily copyable Apple ROMS. Again these were massively cloned outside the US and so future Apple machines (like your ][c MG) used custom components that were harder to copy. btw. OSX is based on a UNIX variant, not a Linux variant. I know a few Unix users who would claim they had grounds for violent action if you confuse the two IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 20, 2002 13:05
Uh huh...neat history, and a neat joke too. I just found out yesterday that my //c was 1.4MHz...they say nothing about it in the manuals. It wasn't important then, I guess. All computers ran around 1 MHz. The Macintosh started the MegaHertz craze. IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 20, 2002 14:50
1984...
IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 20, 2002 15:06
IP: Logged |
MacGenius Super Geek Posts: 165 |
posted August 20, 2002 15:07
...and 2002 IP: Logged |
ZorroTheFox BlabberMouth, the Next Generation. Posts: 1923 |
posted August 20, 2002 16:01
why has My thread died, has My 15.....umm 20 pages of fame finally expired? Perhaps now you will catch up.........Z IP: Logged |
ilovemydualg4 Highlie Posts: 769 |
posted August 20, 2002 17:37
quote: i'm no idiot ------------------ IP: Logged |
ilovemydualg4 Highlie Posts: 769 |
posted August 21, 2002 04:18
this is better: http://www.opensource.apple.com/projects/darwin/1.4/release.html scroll down to x86 ------------------ IP: Logged |
This topic is 3 pages long: 1 2 3 All times are Pacific Time | next newest topic | next oldest topic |
� 2002 Geek Culture� All Rights Reserved.
Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.47e