Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Can I run Multiple Threads in 86Duino?
2016 年 02 月 09 日
23:07:20
George Andrews III
Moderator
Forum Posts: 56
Member Since:
2015 年 03 月 13 日
Offline

Hello,

After looking for ways to optimize my program I found the library. It is a multi-threading library. My question is does the Vortex86EX processor support multiple threads? If not then what board would you recommend that supports this feature? If yes then how many can I run concurrently?

Thank you,
George

2016 年 02 月 11 日
02:51:51
Glaux
Moderator
Forum Posts: 70
Member Since:
2013 年 10 月 11 日
Offline

Hi, Vortex86 is quite simple CPU, don't expect HW support of multiple cores or HT. If you really need it look for intel Atom or Core mobile CPUs but it's bigger, more power consuming and expansive...

2016 年 02 月 11 日
03:30:31
George Andrews III
Moderator
Forum Posts: 56
Member Since:
2015 年 03 月 13 日
Offline

Maybe a multi-core ARM system would be best from a low-power/low-budget standpoint? I guess it's not a must, but for this project I need fully optimized code. Any suggestions would be appreciated.

2016 年 02 月 13 日
05:10:03
Glaux
Moderator
Forum Posts: 70
Member Since:
2013 年 10 月 11 日
Offline

Sure, if you are not bonded with x86 you can go with multicore ARMs. But I didn't work with any yet, only with small cortex M3/M4 MCUs...

2016 年 02 月 13 日
22:50:17
George Andrews III
Moderator
Forum Posts: 56
Member Since:
2015 年 03 月 13 日
Offline

I haven't used an ARM system yet. It will be a new architecture for me to learn. However, it is also simpler (due to its RISC design). I think regardless I will keep the 86Duino for all the motor control. It has some fast I/O interfaces (works much better for this job than something like a Raspberry Pi). I'm trying right now to get a grip of exactly what instruction sets and extensions the Vortex86EX chip supports. I found out so far that it supports all 586 instructions and all 686 instructions except cmov (conditional move). For extensions I only found that it mentions the 80x87 FPU along with its instructions. I do not know yet if it has MMX or any other extra feature. Knowing this will prove very helpful for my project. Unfortunately, the Vortex86EX instruction documentation is incomplete.

2016 年 02 月 15 日
22:30:21
cucubutter
Moderator
Forum Posts: 84
Member Since:
2014 年 04 月 10 日
Offline

Hi,
The L86duntu (Ubuntu 12.04) can run on 86Duino One (Ubuntu is a multi-tasking operating system), so i think that Vortex86EX supports multiple threads. Under L86duntu, you also can easily write a multi-threading program. Your multi-threading library can run under Linux?

cucubutter

2016 年 02 月 15 日
23:27:30
George Andrews III
Moderator
Forum Posts: 56
Member Since:
2015 年 03 月 13 日
Offline

I was referring to the C++11 library . It is a standard library which is supported in any new compiler.

2016 年 02 月 17 日
03:43:55
Glaux
Moderator
Forum Posts: 70
Member Since:
2013 年 10 月 11 日
Offline

>cucubutter
Of course that you can run multitasking/multithreading even on single core CPU but always only one task will be active at the moment, no parallel execution as on multiple cores...

2016 年 02 月 17 日
08:19:58
George Andrews III
Moderator
Forum Posts: 56
Member Since:
2015 年 03 月 13 日
Offline

So I can use the library to multitask; I just can't physically execute multiple things at once, although the multitasking will give the illusion that multiple things are being done at once. One thing I did notice though. The C++11 features are not supported by the 86Duino IDE. It says that the standards are experimental and thus not supported. However, it is 2016 now. Shouldn't we support C++11 or even the relatively newer C++14 standard by now?

2016 年 02 月 17 日
20:58:51
Glaux
Moderator
Forum Posts: 70
Member Since:
2013 年 10 月 11 日
Offline
10

George Andrews III said
The C++11 features are not supported by the 86Duino IDE. It says that the standards are experimental and thus not supported. However, it is 2016 now. Shouldn't we support C++11 or even the relatively newer C++14 standard by now?

The latest DOS/DJGPP GCC port is version 5.3.0 - https://groups.google.com/forum/#!topic/comp.os.msdos.djgpp/wfWPNvbzBro
check it out if supports std. you need. I personally don't use C++ only C...

2016 年 02 月 17 日
22:48:34
George Andrews III
Moderator
Forum Posts: 56
Member Since:
2015 年 03 月 13 日
Offline
11

It is supported, but the 86Duino IDE doesn't like it when I use any C++11 features.

2016 年 02 月 24 日
01:13:47
roboard
Admin
Forum Posts: 135
Member Since:
2013 年 10 月 05 日
Offline
12

George Andrews III said
It is supported, but the 86Duino IDE doesn't like it when I use any C++11 features.

86Duino Coding 211 IDE still employs djgpp 2.04 and gcc 4.9.2 (for conservative consideration). But the 86Duino DOS SDK in DuinOS 1.2 has upgraded to djgpp 2.05 and gcc 5.3.0 for testing djgpp's new features.

2016 年 02 月 24 日
02:24:11
George Andrews III
Moderator
Forum Posts: 56
Member Since:
2015 年 03 月 13 日
Offline
13

OK, thanks for letting me know. I'll look for a solution to organize my program.

Forum Timezone: Asia/Taipei

Most Users Ever Online: 66

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Dinosaur: 27

leutenecker: 13

mrZagg: 10

lukeross: 8

tomka: 8

smeezekitty: 8

hippy: 8

Ekkehard: 8

UIdahoCIT: 8

blaxxun: 7

Member Stats:

Guest Posters: 0

Members: 1531

Moderators: 14

Admins: 5

Forum Stats:

Groups: 2

Forums: 10

Topics: 239

Posts: 1082

Newest Members: JesusMycle, Georgerek, wholesalewholes, involy, Anthonyprity, BruceTum, jack23912, areplicatiffany, zrmikezolive, PBDeveloper

Moderators: Glaux: 70, uaa: 11, guigra: 17, asian55: 22, Android_Lin: 211, bcarroll: 12, cucubutter: 84, recycled-air: 12, stevemork: 16, zerozaber: 52, pongraczi: 20, George Andrews III: 56, poto: 11, garpastym: 20

Administrators: eveshih: 1, anthony: 31, viky6: 0, roboard: 135, hcl: 0