Welcome, Unregistered.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
Old 14-Oct-2012, 00:35   #1
Flux
Member
 
Join Date: Nov 2006
Posts: 246
Default Linux Kernel on hardware

Linux is open source. Written mostly in C. If you were able to implement Linux in hardware using this NISC toolkit...

http://www.ics.uci.edu/~nisc/

What real advantages can you expect and what disadvantages can you expect?
Flux is offline   Reply With Quote
Old 14-Oct-2012, 12:56   #2
Blazkowicz
Senior Member
 
Join Date: Dec 2004
Location: Toulouse
Posts: 4,140
Default

The Linux kernel is totally huge, several megabytes of compiled code.
So at a first glance you need a huge NISC chip or FPGA, assuming it's even possible because NISC maybe likes linear sequences of instructions. Something that can be branching often and all over the place might be difficult. Doing interrupts could be nigh impossible.

But let's imagine you've trimmed linux down (there's a lot of unneeded networking, file systems, drivers and other garbage), you can actually build it with the toolchain and you have a FPGA big enough (biggest FPGA in the world?).
It would only be useful to run other programs, so you have to bake them into that giant NISC spaghetti mess along with linux.

NISC seems to be made for running just one program, with no OS.
See also limitations
http://www.ics.uci.edu/~nisc/documents/FAQ.html#t2

Running any kind of OS would be a cool hack already. You would build something simple from scratch.
If you wanted linux you would build a real CPU in your FPGA, with stuff from opencores maybe, and run linux on that, you would then have NISC applications as coprocessors on the chip.

My two euro cents, from a limited and quick and dirty understanding.
Blazkowicz is offline   Reply With Quote
Old 15-Oct-2012, 00:00   #3
Davros
Darlek ******
 
Join Date: Jun 2004
Posts: 9,495
Default

The Killer Nic has its own operating system (a version of linux)
the nic has an usb socket so you can plug it a flash drive and run a torrent client on the nic and save the files to the flash drive. All this without using any of the host pc resources (apart from power of course)
Quote:
The Killer NIC comes in 2 models; the K1 and the M1. Both models contain a Freescale PowerQUICC processor, 64 MB RAM, a single Gigabit Ethernet port, as well as a single USB 2.0 port, intended for use with specialized programs running on the card's embedded Linux operating system.
http://en.wikipedia.org/wiki/Killer_NIC
__________________
Guardian of the Most holy Two Terabytes of Gaming Goodness™
Davros is offline   Reply With Quote
Old 16-Oct-2012, 02:51   #4
Flux
Member
 
Join Date: Nov 2006
Posts: 246
Default

Quote:
Originally Posted by Blazkowicz View Post
The Linux kernel is totally huge, several megabytes of compiled code.
So at a first glance you need a huge NISC chip or FPGA, assuming it's even possible because NISC maybe likes linear sequences of instructions. Something that can be branching often and all over the place might be difficult. Doing interrupts could be nigh impossible.

But let's imagine you've trimmed linux down (there's a lot of unneeded networking, file systems, drivers and other garbage), you can actually build it with the toolchain and you have a FPGA big enough (biggest FPGA in the world?).
It would only be useful to run other programs, so you have to bake them into that giant NISC spaghetti mess along with linux.

NISC seems to be made for running just one program, with no OS.
See also limitations
http://www.ics.uci.edu/~nisc/documents/FAQ.html#t2

Running any kind of OS would be a cool hack already. You would build something simple from scratch.
If you wanted linux you would build a real CPU in your FPGA, with stuff from opencores maybe, and run linux on that, you would then have NISC applications as coprocessors on the chip.

My two euro cents, from a limited and quick and dirty understanding.
NISC is not a FPGA.

It can be test/synthesized on FPGA but is not an fpga.
Flux is offline   Reply With Quote
Old 21-Oct-2012, 06:36   #5
Grall
Invisible Member
 
Join Date: Apr 2002
Location: La-la land
Posts: 4,995
Default

There's a reason software runs on hardware rather than BEING the hardware. Complexity and convenience is one, bugs (and need for patching) another, performance a third, power useage another - especially these days. And so on.

I don't really see the point of all these speculative topics you're creating and then barely participating in. Are you a weirdo or something?
__________________
"If I were a science teacher and a student said the Universe is 6000 years old, I would mark that answer as wrong (why? Because it is)."
-Phil Plait
Grall is offline   Reply With Quote
Old 21-Oct-2012, 06:49   #6
rpg.314
Senior Member
 
Join Date: Jul 2008
Location: /
Posts: 4,070
Send a message via Skype™ to rpg.314
Default

People have done compilers in hardware in the past as academic projects.

This one is similiar in spirit but MUCH more ambitious. IMHO, doing a simpler OS would be a major undertaking, let alone a full blown Linux.
__________________
The views presented here are my own and not my employer's.
Quote:
Originally Posted by Alexko View Post
So in a nutshell, model [BLANK] will have [BLANK], up to [BLANK], and even [BLANK] for a power consumption of just [BLANK]. Impressive.
rpg.314 is offline   Reply With Quote
Old 21-Oct-2012, 22:21   #7
Flux
Member
 
Join Date: Nov 2006
Posts: 246
Default

Quote:
Originally Posted by rpg.314 View Post
People have done compilers in hardware in the past as academic projects.

This one is similiar in spirit but MUCH more ambitious. IMHO, doing a simpler OS would be a major undertaking, let alone a full blown Linux.
What about just the linux kernel or a middleware engine?
Flux is offline   Reply With Quote
Old 22-Oct-2012, 01:26   #8
rpg.314
Senior Member
 
Join Date: Jul 2008
Location: /
Posts: 4,070
Send a message via Skype™ to rpg.314
Default

Quote:
Originally Posted by Flux View Post
What about just the linux kernel or a middleware engine?
Both too big to build with the HW tools on offer. May be languages better than VHDL/Verilog are increase productivity. But those two are a black hole of productivity when it comes to a game engine or a kernel, especially with all the subtleties a kernel must handle.
__________________
The views presented here are my own and not my employer's.
Quote:
Originally Posted by Alexko View Post
So in a nutshell, model [BLANK] will have [BLANK], up to [BLANK], and even [BLANK] for a power consumption of just [BLANK]. Impressive.
rpg.314 is offline   Reply With Quote
Old 22-Oct-2012, 11:48   #9
Davros
Darlek ******
 
Join Date: Jun 2004
Posts: 9,495
Default

Quote:
Originally Posted by Blazkowicz View Post
The Linux kernel is totally huge,
Not always there are several linux versions that fit on a floppy
__________________
Guardian of the Most holy Two Terabytes of Gaming Goodness™
Davros is offline   Reply With Quote
Old 22-Oct-2012, 19:17   #10
Grall
Invisible Member
 
Join Date: Apr 2002
Location: La-la land
Posts: 4,995
Default

How would you run application programs anyway on a kernel that is an integrated circuit silicon chip in of itself?

An OS is not a microprocessor, which is what you need for applications, and an OS - as a chip or otherwise - is totally useless without applications...
__________________
"If I were a science teacher and a student said the Universe is 6000 years old, I would mark that answer as wrong (why? Because it is)."
-Phil Plait
Grall is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 +1. The time now is 23:38.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.