English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 05 March 2017, 13:07   #1
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
AROS Adding 64Bit And SMP Support



After many years of active development, AROS finally seems to be able to 'evolve' the now 30+ years old architecture of the Amiga API. The original Amiga computers from Commodore brought to home users and professionals the first pre-emptive, window based operating system at affordable prices, although its kernel was tailored to the single Motorola 68000 CPU mounted on the machines. After Commodore's demise in 1994, a long debate started about the evolution of the Amiga platform and, although many announcements were made, current AmigaOS 4.1 is still a 32bit-based, single-core oriented operating system, and the same is true for Amiga-like alternatives MorphOS and AROS.

Things, however, are changing. In his weekly survey about AROS progress on AROS-EXEC.org and Amigaworld.net, Krzysztof Smiechowicz talked about "Work on handling additional CPU cores in x86_64 AROS kernel", adding "Initial version of SMP scheduler has been introduced in AROS i386/x86_64 kernel" just a week later. In the following weeks, a screenshot from coder Nick Andrews and a video on Youtube showed a 64-bit version of AROS, runnning on multicore AMD and Intel processors, handling 4 and 8 cores correctly.

SMP is being added to AROS by experienced coders Nick Andrews and Michal Schulz, and while it is not available in public nightly builds just yet, there is finally the chance to see an Amiga-like operating system handling modern CPUs properly News Source:

Sysmon Update AROS progress
[ Show youtube player ]
AMIGASYSTEM is online now  
Old 05 March 2017, 13:57   #2
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
After "pre-emptive" you probably want to add "multitasking".

Is it wise to announce SMP support this early? How much testing has been done?
matthey is offline  
Old 05 March 2017, 14:12   #3
Locutus
Registered User
 
Join Date: Jul 2014
Location: Finland
Posts: 1,176
Why not? the code is there, you can review, build, verify as you want.

Release early, release often, this isn't 1985 anymore :-)
Locutus is offline  
Old 05 March 2017, 14:50   #4
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by Locutus View Post
Why not? the code is there, you can review, build, verify as you want.
There could be some instability issue which makes all AROS x86_64 software incompatible for example.

Quote:
Originally Posted by Locutus View Post
Release early, release often, this isn't 1985 anymore :-)
Right. AROS can always have a 3rd ABI with every developer recompiling for every ABI and target CPU combination .
matthey is offline  
Old 05 March 2017, 15:10   #5
wawa
Registered User
 
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
@matthey:

Quote:
There could be some instability issue which makes all AROS x86_64 software incompatible for example.
this is work in progress, there is only some test programs, fractyls running on multiple cores. the backwards compatibility is maintained, but one needs to keep an eye on it. lately snoopdos stopped workinng, i suspect some semaphore change in exec, fortunatelly there is aros native snoopy. but im of course concerned about such issues.

Quote:
Right. AROS can always have a 3rd ABI with every developer recompiling for every ABI and target CPU combination .
given the code already compile for one platform of aros it will usually compile for another, 32 or 64 bit, smp or not.

of course things like pointers need to be defined to a proper type (IPTR if i recall right) which defaults to ULONG on 32bit archs. and on 68k you need to remember to use parametrizing macros and proper syntax for hooks, which will otherwise work on x86, even if wrong, but fail on 68k.

so 68k is actually least forgiving and proper reference platform.
wawa is offline  
Old 05 March 2017, 15:50   #6
Locutus
Registered User
 
Join Date: Jul 2014
Location: Finland
Posts: 1,176
Quote:
Originally Posted by matthey View Post
There could be some instability issue which makes all AROS x86_64 software incompatible for example.
Such is the way of a development process, i really dont see how that would keep someone from doing a early release. This is exactly what branches are for after all.

Quote:
Right. AROS can always have a 3rd ABI with every developer recompiling for every ABI and target CPU combination .
does that really matter? most x86 'users' are on the v0 ABI anyway aren't they?
Locutus is offline  
Old 05 March 2017, 17:02   #7
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by wawa View Post
given the code already compile for one platform of aros it will usually compile for another, 32 or 64 bit, smp or not.
Is SMP being added to ABIv0 or ABIv1? Do AROS programmers and the AROS group/team have the organization to give "official" news statements on behalf of AROS?

Quote:
Originally Posted by Locutus View Post
does that really matter? most x86 'users' are on the v0 ABI anyway aren't they?
My understanding was that x86 AROS remained on ABIv0 for compatibility with already compiled programs like on Aminet. Eventually it was to be merged with the more advanced and AmigaOS compatible ABIv1 (which I believe the 68k is using). I guess the plan was to eventually break x86 binary compatibility anyway?

I would have preferred the lead AROS programmer(s) to give the ok on the SMP announcement when/if they decided stability was adequate (less stress for them) and perhaps give an updated plan for future ABIs but I guess anyone can create an "unofficial" news announcement. I can understand some people's excitement even if it may be better to wait for an "official" announcement.
matthey is offline  
Old 05 March 2017, 18:20   #8
wawa
Registered User
 
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
Quote:
Originally Posted by matthey View Post
Is SMP being added to ABIv0 or ABIv1? Do AROS programmers and the AROS group/team have the organization to give "official" news statements on behalf of AROS?
abi_v1, which is the same branch, amiga-m68k target exists in. abiv_0 is being kept for compatibility, with as much as possible fixes backported from abi_v1 for x86 users.

Quote:
My understanding was that x86 AROS remained on ABIv0 for compatibility with already compiled programs like on Aminet..
correct. for the still undfined time being till v1 is stable and the users ready for transition.

Quote:
Eventually it was to be merged with the more advanced and AmigaOS compatible ABIv1 (which I believe the 68k is using). I guess the plan was to eventually break x86 binary compatibility anyway?
yes.

Quote:
I would have preferred the lead AROS programmer(s) to give the ok on the SMP announcement when/if they decided stability was adequate (less stress for them) and perhaps give an updated plan for future ABIs but I guess anyone can create an "unofficial" news announcement. I can understand some people's excitement even if it may be better to wait for an "official" announcement.
i think there will be some sort of information available on aros site as soon as its advanced enough. usually deadwood writes some summary, except regularly posting week progress reports on various sites.

here you have posts by michalsc, one of both main devs mostly concerned with the current smp development:
http://amigaworld.net/modules/newbb/...e=flat&order=0

the orther one, kalamatee posts only now any then on aros exec, he has initiated that work, and he commits the most, so i wouldnt expect that much statements from him.
wawa is offline  
Old 05 March 2017, 18:24   #9
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Video test with a fractal generator, we are still only beginning and already notice the difference in the calculation, 10 seconds rendering time on a 4 cores compared to 30 seconds of a single core.

AROS SMP Test#4, Fractal Generator
[ Show youtube player ]
AMIGASYSTEM is online now  
Old 16 April 2017, 01:09   #10
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
AROS running on a 12-core AMD Ryzen R5-1600X based virtual machine:

[ Show youtube player ]
AMIGASYSTEM is online now  
Old 16 April 2017, 01:48   #11
wawa
Registered User
 
Join Date: Aug 2007
Location: berlin/germany
Posts: 1,054
looks like moving the window interrupts computation on all cores, s long as its is not released.
wawa 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
AmigaONE X1000 successor coming, AmigaOS to get SMP support kingpin007 News 63 24 November 2013 01:55
AROS Vision 1.5.9. with full CD-Support and Mplayer OlafSch News 11 25 May 2013 14:00
From the makers of BlitzBasic: Monkey... now with OS3.x and AROS support HenryCase News 13 14 January 2012 05:33
support for AROS boot rom Worfje support.WinFellow 16 16 November 2011 21:43

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 18:23.

Top

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