OSDev.org

The Place to Start for Operating System Developers
It is currently Wed Apr 25, 2018 12:46 am

All times are UTC - 6 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 24 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: topic is cut into two parts and now its totally pointless
PostPosted: Wed May 17, 2017 8:09 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
----

_________________
Operating system for SUBLEQ cpu architecture:
http://gerigeri.uw.hu/DawnOS/index.html


Last edited by Geri on Thu May 18, 2017 10:41 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Performance Measurements
PostPosted: Thu May 18, 2017 3:20 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 3098
Location: Chichester, UK
Geri wrote:
on a 3 ghz superscalar 2 core SUBLEQ cpu ... no synthetic benchmarking however - all of this is measured in REAL workloads
Could you let us know the manufacturer and model number of this CPU on which you are performing REAL measurements? Where could I buy one and how much would it cost me?
Quote:
this may seem very bad compared to x86 os-es
Then I hope this processor is really cheap. Otherwise, why would I not just use an x86?


Top
 Profile  
 
 Post subject: Re: Performance Measurements
PostPosted: Thu May 18, 2017 5:22 am 
Offline
Member
Member
User avatar

Joined: Thu Jul 12, 2012 7:29 am
Posts: 718
Location: Tallinn, Estonia
superscalar subleq... now this is deep

_________________
Learn to read.


Top
 Profile  
 
 Post subject: Re: Performance Measurements
PostPosted: Thu May 18, 2017 6:44 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
-i multiplied the results of an emulated subleq cpu (400 million instruction per sec) with 20, to get values of a =3 ghz & 2.66 instruction per clock cpu.

-i also compiled the code for x86 (athlon2 x4 3,1 ghz) and emulated only the hardware io for subleq to check if i get the same performance.

-both showed approx the same performance.

-i also tested natively on a 1,6 ghz ht atom (but didnt measured, i only checked how much it stutters)

-performance scaling linearly with the raw instruction per sec, but the sheduler and disk io will be also clamped by the io performance.

_________________
Operating system for SUBLEQ cpu architecture:
http://gerigeri.uw.hu/DawnOS/index.html


Top
 Profile  
 
 Post subject: Re: Performance Measurements
PostPosted: Thu May 18, 2017 7:25 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 3098
Location: Chichester, UK
Quote:
all of this is measured in REAL workloads
Quote:
i multiplied the results of an emulated subleq cpu (400 million instruction per sec) with 20, to get values of a =3 ghz & 2.66 instruction per clock cpu
So the claim to measure REAL workloads was just b/s?

But, even were it true, your results seem to show that I would get better performance out of an x86. Much better, considering that the subleq CPU doesn't actually exist. :mrgreen:

I think I'll stick with a REAL processor.


Top
 Profile  
 
 Post subject: Re: Performance Measurements
PostPosted: Thu May 18, 2017 8:05 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
there is no dawn-compatible subleq cpu yet, i cant measure it on native subleq cpu, only on emulated, the workload is still real (for example i measured the file system speed by creating a browsable article database consisting tens of tousands of articles).

yes, you can write more efficient operating systems on platforms with actual hardware support for interrupts, dma and signal processing. but i cant add those to subleq, it will ruin the simplicity of the hardware. however, the overall real-world performance will not be as big as you expect even if you have hardware acceleration for everything. even windows and linux sheduler is cycling on a few ten khz.

_________________
Operating system for SUBLEQ cpu architecture:
http://gerigeri.uw.hu/DawnOS/index.html


Top
 Profile  
 
 Post subject: Re: Performance Measurements
PostPosted: Thu May 18, 2017 9:58 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 3098
Location: Chichester, UK
You make some very convincing arguments of why a subleq processor would be inferior. (Which may explain why no-one manufacturers them.) I can only agree with you.


Top
 Profile  
 
 Post subject: Re: Measurements of SUBLEQ's Lack of Performance
PostPosted: Thu May 18, 2017 10:16 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
subleq cpu have major advantages and disadvantages (just like any other architecture).

_________________
Operating system for SUBLEQ cpu architecture:
http://gerigeri.uw.hu/DawnOS/index.html


Top
 Profile  
 
 Post subject: Re: Measurements of SUBLEQ's Lack of Performance
PostPosted: Thu May 18, 2017 10:27 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 3098
Location: Chichester, UK
But you tell me it's performance would not be as good as an x86. So what "advantages" would persuade me to use one? And why does no-one manufacturers them?


Top
 Profile  
 
 Post subject: Re: Measurements of SUBLEQ's Lack of Performance
PostPosted: Thu May 18, 2017 10:32 am 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8337
Location: At his keyboard!
Hi,

Geri wrote:
subleq cpu have major advantages and disadvantages (just like any other architecture).


SUBLEQ only has major disadvantages.

"Seems simple (to people that lack knowledge and experience)" is just one of the disadvantages.


Cheers,

Brendan

_________________
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.


Top
 Profile  
 
 Post subject: Re: Measurements of SUBLEQ's Lack of Performance
PostPosted: Thu May 18, 2017 10:44 am 
Offline
Member
Member
User avatar

Joined: Sun Feb 09, 2014 7:11 pm
Posts: 87
Location: Within a meter of a computer
Now that I think about it, how would a superscalar subleq design work? How can the processor tell if an instruction depends on a previous as of yet unexecuted instruction without having to actually execute all instructions up to that point? Although, even x86 would suffer from this issue in memory references, so how do they determine if an instruction that relies on a memory access isn't dependent on an unexecuted instruction? The only approach I can think of is that they don't and instead just drop the result if it turns out that the memory content has changed due to another instruction.

_________________
"If the truth is a cruel mistress, than a lie must be a nice girl"
Working on Cardinal
Find me at #Cardinal-OS on freenode!


Top
 Profile  
 
 Post subject: Re: topic is cut into two parts and now its totally pointles
PostPosted: Thu May 18, 2017 10:44 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
brendan: autising above a propriretrary hardware obfuscator (like x86) is not knowledge. also after the topic has been splitted, i removed the original post, it makes no point, and inspires an opinion i would not even agree.

_________________
Operating system for SUBLEQ cpu architecture:
http://gerigeri.uw.hu/DawnOS/index.html


Top
 Profile  
 
 Post subject: Re: topic is cut into two parts and now its totally pointles
PostPosted: Thu May 18, 2017 10:50 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
hgoel: you can do 3 things for a superscalar subleq design:

1. you blindly execute the instructions parallelly, and you only write the results out if your circuits detecting independency of the instructions (you throw out the other results).

2. you design a long pipeline that executes (unifys) a lot of instructions after each other. this needs a lot of connects into the cache to have a lot of cache reads in a cycle.

3. do both

method 2. resuires more transistors than 1. method. method 3 requires more transistor than method 2.

with an inorder superscalar subleq cpu you can parallerize up to typically 2 instructions. out of order superscalar should be able to do 10-20.

_________________
Operating system for SUBLEQ cpu architecture:
http://gerigeri.uw.hu/DawnOS/index.html


Top
 Profile  
 
 Post subject: Re: topic is cut into two parts and now its totally pointles
PostPosted: Thu May 18, 2017 10:52 am 
Offline
Member
Member
User avatar

Joined: Wed Jul 13, 2011 7:38 pm
Posts: 543
Location: Victoria, Canada
Have you considered that maybe no one wants to see your incessant shitposting and that's why when you get fully hot and heavy about your idiosyncratic ideas about ISA design everyone tunes out and your posts get split off to wither away and die?

_________________
In our business, a one in a million chance is next Tuesday.


Top
 Profile  
 
 Post subject: Re: topic is cut into two parts and now its totally pointles
PostPosted: Thu May 18, 2017 10:54 am 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 442
no. my system is good, and i am poroud of it.

_________________
Operating system for SUBLEQ cpu architecture:
http://gerigeri.uw.hu/DawnOS/index.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 24 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group