English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 04 September 2018, 09:22   #321
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,348
Quote:
Originally Posted by meynaf View Post
If these so great multitasking systems were so cool, why did they just fade out ? How to check them now ?
You write this on an Amiga forum? Seriously, Meynaf?
idrougge is offline  
Old 04 September 2018, 09:37   #322
touko
Registered User
 
touko's Avatar
 
Join Date: Dec 2017
Location: france
Posts: 197
Quote:
If these so great multitasking systems were so cool, why did they just fade out ? How to check them now ? Because it's written on wikipedia then it is necessarily true ?
You can take for example OS9, it was a great real time multitasking os, way better than windows or some others .
They fade out because marketing for many of them .
Your arguments mean,windows is great because is still here .
touko is offline  
Old 04 September 2018, 09:55   #323
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
Quote:
Originally Posted by idrougge View Post
You write this on an Amiga forum? Seriously, Meynaf?
Yes, seriously. Why not ?


Quote:
Originally Posted by touko View Post
You can take for example OS9, it was a great real time multitasking os, way better than windows or some others .
They fade out because marketing for many of them .
Your arguments mean,windows is great because is still here .
You're taking my arguments the wrong direction.
(et encore un qui a essayé de me faire dire ce que je n'ai pas dit !)

Something might still be here even if not great.
But something really great doesn't completely fade out like this. It leaves nostalgy behind. Exactly like Amiga.
meynaf is offline  
Old 04 September 2018, 09:56   #324
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
I’m not really sure multitasking is relevant here. Unless you want to compare context switch time multitasking is an OS implementation detail.
plasmab is offline  
Old 04 September 2018, 09:59   #325
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
Quote:
Originally Posted by plasmab View Post
I’m not really sure multitasking is relevant here. Unless you want to compare context switch time multitasking is an OS implementation detail.
The devil is in the details...
meynaf is offline  
Old 04 September 2018, 10:09   #326
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
68k details

Quote:
Originally Posted by meynaf View Post
The devil is in the details...

Ok. Correct me where I go wrong. You can write a multitasking OS in C or Assembler. Pre-emptive or cooperative. What does CPU X vs CPU Y change aside from how performant the switch from process A to process B is? (lets ignore security for the moment).

EDIT: another way to put it would be to ask what the quantitative measurement would be for a multitasking OS on CPU X vs CPU Y?

Last edited by plasmab; 04 September 2018 at 10:15.
plasmab is offline  
Old 04 September 2018, 11:24   #327
touko
Registered User
 
touko's Avatar
 
Join Date: Dec 2017
Location: france
Posts: 197
Quote:
You're taking my arguments the wrong direction.
It was just an example, because you seemed to be saying if an os was good in the 90's, inevitably it should still be alive nowadays .
Sorry if i misinterpreted,but it's because you wasn't clear

Quote:
(et encore un qui a essayé de me faire dire ce que je n'ai pas dit !)
Donc c'est bien que tu n'es pas toujours clair dans ton argumentation

Last edited by touko; 04 September 2018 at 11:31.
touko is offline  
Old 04 September 2018, 12:07   #328
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
Quote:
Originally Posted by plasmab View Post
Ok. Correct me where I go wrong. You can write a multitasking OS in C or Assembler. Pre-emptive or cooperative.
You go wrong here
You can't write a multitasking OS in 100% C. There has to be some asm inside. Not much nowadays, but still some, and at the very core.


Quote:
Originally Posted by plasmab View Post
What does CPU X vs CPU Y change aside from how performant the switch from process A to process B is? (lets ignore security for the moment).
Well, you may have extra work to do, depending on the cpu family.
If you don't believe me, peek at the linux core sources, for how much workaround work they had to do for x86. I haven't had a look myself but i'm nearly ready to bet there's quite some of it.
This may make the task too complex and the OS writer wannabe bails out.
Why do you think all OSes that are out today are evolutions of much older things and nothing mainstream is written from scratch in spite the financial means todays actors have ?


Quote:
Originally Posted by plasmab View Post
EDIT: another way to put it would be to ask what the quantitative measurement would be for a multitasking OS on CPU X vs CPU Y?
I don't get exactly what you're asking here. I can't really give a quantitative measurement.

But here's how i see things.
On CPU X you can do the core OS in assembler.
On CPU Y you can't really because asm is PITA. Therefore you used a compiler for most of the stuff, and ended up with largely suboptimal code (because compilers are not as good as most people pretend).


Quote:
Originally Posted by touko View Post
It was just an example, because you seemed to be saying if an os was good in the 90's, inevitably it should still be alive nowadays .
Sorry if i misinterpreted,but it's because you wasn't clear
But this IS what i was saying !
F.e. The Amiga OS was good in the 90's and it's kinda still alive nowadays...
But what i'm NOT saying is that if an OS is alive nowadays it's necessarily good. Got it this time ?


Quote:
Originally Posted by touko View Post
Donc c'est bien que tu n'es pas toujours clair dans ton argumentation
C'est parce que j'ai à la faire en anglais...
meynaf is offline  
Old 04 September 2018, 12:21   #329
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
68k details

You can make the OS a high percentage in C. But ok. So your argument is simply that one assembly language is easier than another. That can be managed in other ways.

I think your argument is all about you are cool because you do everything in assembly language and everyone else isn’t.

You haven’t given an objective quantifiable measurement. You make it all subjective. One mans difficult is another mans trivial.

EDIT: the vast majority of BSD and Linux is C and they run on multiple CPUs

Last edited by plasmab; 04 September 2018 at 12:30.
plasmab is offline  
Old 04 September 2018, 13:10   #330
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
68k details

For the record I don’t think any of your arguments are wrong ... even the being cool bit... doing an OS in assembly language is cool.. but i just don’t think it’s really relevant in the sense these are not scientific methods of comparing CPUs
plasmab is offline  
Old 04 September 2018, 13:33   #331
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
Quote:
Originally Posted by plasmab View Post
You can make the OS a high percentage in C. But ok. So your argument is simply that one assembly language is easier than another. That can be managed in other ways.
That can't be managed in other ways. If the assembly language isn't easy enough then it has to be encapsulated. And this isn't done for free.


Quote:
Originally Posted by plasmab View Post
I think your argument is all about you are cool because you do everything in assembly language and everyone else isn’t.
I don't do everything in asm.


Quote:
Originally Posted by plasmab View Post
You haven’t given an objective quantifiable measurement.
Who has ?


Quote:
Originally Posted by plasmab View Post
You make it all subjective. One mans difficult is another mans trivial.
There are things nobody will find trivial, really.


Quote:
Originally Posted by plasmab View Post
EDIT: the vast majority of BSD and Linux is C and they run on multiple CPUs
I din't say the vast majority wasn't C. Just that some important part wasn't.


Quote:
Originally Posted by plasmab View Post
For the record I don’t think any of your arguments are wrong ... even the being cool bit... doing an OS in assembly language is cool.. but i just don’t think it’s really relevant in the sense these are not scientific methods of comparing CPUs
There are no really scientific methods of comparing CPUs. Whatever comparison is done, is always biased in some way.
meynaf is offline  
Old 04 September 2018, 13:44   #332
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Oh come on you can do better than this. You can! I’ll even argue your side because your failing completely.

1. You could time how long it takes to get a basic OS developed in each assembly language.

2. You can measure the the average time it takes to fix a bug in one vs the other.

3. You can measure the key code metrics on these operating systems (cyclomatic complexity, average subroutine length etc)

4. You can measure context switching time, time to service an interrupt etc.

There loads more. The subjective arguments are pointless.
plasmab is offline  
Old 04 September 2018, 14:11   #333
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
Quote:
Originally Posted by plasmab View Post
Oh come on you can do better than this. You can! I’ll even argue your side because your failing completely.
I'm not failing. A failure to do what ? To play chess with pigeons ?
And perhaps i could do better, but it's not worth the effort.

As for CPU comparisons, always remember this :
I keep asking for code comparisons, but, how odd, nobody feels like writing x86, arm, or whatever code.


Quote:
Originally Posted by plasmab View Post
1. You could time how long it takes to get a basic OS developed in each assembly language.
For this to be more than an approximation, a basic OS needs to be really developed for every assembly language. Do I have years to waste with doing that ? Nope.


Quote:
Originally Posted by plasmab View Post
2. You can measure the the average time it takes to fix a bug in one vs the other.
For this i must actually write them. Not going to happen.


Quote:
Originally Posted by plasmab View Post
3. You can measure the key code metrics on these operating systems (cyclomatic complexity, average subroutine length etc)
Do I have the source of several operating systems and the time to study them ? Nope.


Quote:
Originally Posted by plasmab View Post
4. You can measure context switching time, time to service an interrupt etc.
How ? Do i have access to several OS internals to do that ?
(Actually i have measured context switching time long ago in the past and all tested OSes performed very poor, even though AOS won by far.)


Quote:
Originally Posted by plasmab View Post
There loads more. The subjective arguments are pointless.
If there's loads more, then please write more. Because for now...
meynaf is offline  
Old 04 September 2018, 14:18   #334
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Ok. So just keep asserting your opinion then but don’t expect anyone to listen.
plasmab is offline  
Old 04 September 2018, 14:19   #335
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
Quote:
Originally Posted by plasmab View Post
Ok. So just keep asserting your opinion then but don’t expect anyone to listen.
So now i have to change my opinion just for people to listen ? It's becoming better every day
meynaf is offline  
Old 04 September 2018, 14:20   #336
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
I am surprised 68000 beat ARM on fast interrupt latency though. I will measure this at some point.
plasmab is offline  
Old 04 September 2018, 14:22   #337
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Quote:
Originally Posted by meynaf View Post
So now i have to change my opinion just for people to listen ? It's becoming better every day


No just back it up with some facts. I’m not even disagreeing here just think when you say “X is too difficult” that it’s bollocks. Too difficult for you maybe.
plasmab is offline  
Old 04 September 2018, 14:29   #338
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,436
Quote:
Originally Posted by plasmab View Post
I am surprised 68000 beat ARM on fast interrupt latency though. I will measure this at some point.
Frankly, I'd be amazed if it is!

On the 68000, a simple interrupt that merely pushes/pops all registers will already take on the order of 300 cycles (this is including the 44 cycles the 68000 takes to serve an interrupt and the 20 cycles for the RTE, but does not include the variable latency caused by prefetch and all that jazz).

I can't imagine an ARMv2/v3 being slower, given it reads/writes 32 bytes from memory per cycle.
roondar is offline  
Old 04 September 2018, 14:30   #339
plasmab
Banned
 
plasmab's Avatar
 
Join Date: Sep 2016
Location: UK
Posts: 2,917
Fast interrupt on ARM v2/v3 doesn’t push anything. Bank switched a stack pointer. That’s why I’m surprised.
plasmab is offline  
Old 04 September 2018, 14:31   #340
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
Quote:
Originally Posted by plasmab View Post
I am surprised 68000 beat ARM on fast interrupt latency though. I will measure this at some point.
You can measure that if you want. Comparison is meaningless but you will be happy because ARM will win.


Quote:
Originally Posted by plasmab View Post
No just back it up with some facts. I’m not even disagreeing here just think when you say “X is too difficult” that it’s bollocks. Too difficult for you maybe.
If it's too difficult for me, then someone else should do it ? Wake up ! Nobody does ! Can't you read ? I ask some code and get nothing ! Yes it's too difficult, not only for me - as nobody does write said code !

But maybe YOU want to write ARM or x86 version of that Bresenham algorithm i told about ?
meynaf is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any software to see technical OS details? necronom support.Other 3 02 April 2016 12:05
2-star rarity details? stet HOL suggestions and feedback 0 14 December 2015 05:24
EAB's FTP details... Basquemactee1 project.Amiga File Server 2 30 October 2013 22:54
req details for sdl turrican3 request.Other 0 20 April 2008 22:06
Forum Details BippyM request.Other 0 15 May 2006 00:56

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:07.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.12967 seconds with 13 queries