Welcome Guest ( Log In | Register )

142 Pages « < 120 121 122 123 124 > » Bottom

Outline · [ Standard ] · Linear+

 Raspberry Pi, Rm100 computer that beats iPhone4S

views
     
sin2010
post Aug 4 2015, 10:38 AM

Getting Started
**
Junior Member
148 posts

Joined: May 2010
QUOTE(quadcube @ Aug 4 2015, 09:08 AM)
Shouldn't be a problem if wifi is not connected?if you share the network,your Mac should assign IP to your Pi.usually when I don't know/can't find the IP of the Pi,I would use Pi Finder to get its IP address. Then only I would ssh with the Pi IP
*
But the wifi in RPi is connected, is this reason it fail to get ip from osx?
i tried to ifdown and up the eth0, i saw it requesting ip through 255.255.255.255, is this normal? because the OSX self assigned ip (on OSX) is something like 169.254.XXX.XXX
quadcube
post Aug 4 2015, 11:41 AM

Regular
******
Senior Member
1,924 posts

Joined: May 2009
From: Yokohama, JP


QUOTE(sin2010 @ Aug 4 2015, 10:38 AM)
But the wifi in RPi is connected, is this reason it fail to get ip from osx?
i tried to ifdown and up the eth0, i saw it requesting ip through 255.255.255.255, is this normal? because the OSX self assigned ip (on OSX) is something like 169.254.XXX.XXX
*
try disconnecting the wifi and see? sweat.gif for me,169.254.xxx.xxx only appear when the OS X cannot get an IP,hence self assign
sin2010
post Aug 4 2015, 05:40 PM

Getting Started
**
Junior Member
148 posts

Joined: May 2010
QUOTE(quadcube @ Aug 4 2015, 11:41 AM)
try disconnecting the wifi and see? sweat.gif for me,169.254.xxx.xxx only appear when the OS X cannot get an IP,hence self assign
*
Tried before...and it is no problem to get ip when connect it to router, so maybe osx side need to set something?but so far i only can check the internet sharing, nothing much i can do.
quadcube
post Aug 4 2015, 05:43 PM

Regular
******
Senior Member
1,924 posts

Joined: May 2009
From: Yokohama, JP


QUOTE(sin2010 @ Aug 4 2015, 05:40 PM)
Tried before...and it is no problem to get ip when connect it to router, so maybe osx side need to set something?but so far i only can check the internet sharing, nothing much i can do.
*
Your internet sharing setting?can print screen?
MrLoo
post Aug 5 2015, 10:11 AM

Scouser
*******
Senior Member
4,230 posts

Joined: Sep 2010
From: Malacca


WTS Raspberry Pi 2 complete with heatsinks, noobs m/c, cover, wifi adapter and Pi NoIR camera module for RM250. the whole thing just use for a few times then kept in box... Price is negotiable. TQ

Sold to forumer Mousqy. rclxms.gif

This post has been edited by MrLoo: Aug 5 2015, 11:22 PM
arslow
post Aug 5 2015, 11:24 AM

Look at all my stars!!
*******
Senior Member
3,544 posts

Joined: Sep 2008


Sorry for OT but, any of you know where to get odroid C1?
wcypierre
post Aug 5 2015, 11:36 AM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sin2010 @ Aug 4 2015, 05:40 PM)
Tried before...and it is no problem to get ip when connect it to router, so maybe osx side need to set something?but so far i only can check the internet sharing, nothing much i can do.
*
OSX should have an Internet sharing feature like Windows and Linux w/ GUI where the DHCP Server is automatically run when u enable internet sharing. Otherwise, u can install a 3rd party dhcp server and give ip to ur raspi laugh.gif
wcypierre
post Aug 5 2015, 11:39 AM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(quadcube @ Jul 3 2015, 09:17 AM)
There are a lot of C based MPI program on the net,tested Prime number program,useful for up to 19 threads only laugh.gif
*
Try and run your parallel program and run top. Look for wa and if it is high then IO is the issue in your setup(I guess IO should be the main issue for distributed or parallel for nodes in the same network)
JungWoo
post Aug 5 2015, 11:43 AM

Regular
******
Senior Member
1,043 posts

Joined: Feb 2012


QUOTE(MrLoo @ Aug 5 2015, 10:11 AM)
WTS Raspberry Pi 2 complete with heatsinks, noobs m/c, cover, wifi adapter and Pi NoIR camera module for RM250. the whole thing just use for a few times then kept in box... Price is negotiable. TQ
*
Do you have a thread on garage sales? Wish to have a look on details
MrLoo
post Aug 5 2015, 12:45 PM

Scouser
*******
Senior Member
4,230 posts

Joined: Sep 2010
From: Malacca


QUOTE(JungWoo @ Aug 5 2015, 11:43 AM)
Do you have a thread on garage sales? Wish to have a look on details
*
erm i dunno to open in which thread on garage sales so try my luck here. btw if u wan more details and photo just whatsapp me. i will send thru there TQ rclxms.gif
quadcube
post Aug 5 2015, 12:59 PM

Regular
******
Senior Member
1,924 posts

Joined: May 2009
From: Yokohama, JP


QUOTE(wcypierre @ Aug 5 2015, 11:39 AM)
Try and run your parallel program and run top. Look for wa and if it is high then IO is the issue in your setup(I guess IO should be the main issue for distributed or parallel for nodes in the same network)
*
I don't have access to the cluster currently,on holiday laugh.gif

but i made a no. thread vs time taken graph for two program

Attached Image
- MPI Prime number program

Attached Image
-MPI 2D Poisson equation using Jacobi algorithm

by right the performance graph should decrease exponentially,but the Prime number program doesn't perform as expected,as u mentioned,most probably caused by high IO

for the 2D Poisson equation using Jacobi algorithm,initially i set the no. of interior vertices and fractional accuracy for the program to complete faster,which almost the same graph as the prime program.
so i change the no. of interior vertices and fractional accuracy to be higher,which increase the required computing power for each Pi to get the exponential decrease graph,which indicates that the IO latency have become insignificant
mousqy
post Aug 5 2015, 04:18 PM

Enthusiast
*****
Senior Member
758 posts

Joined: Aug 2008


anyone made a rp2+openelec+usb dvb-t tuner setup yet?
wanna know which tv tuner works
sin2010
post Aug 5 2015, 04:30 PM

Getting Started
**
Junior Member
148 posts

Joined: May 2010
QUOTE(quadcube @ Aug 4 2015, 05:43 PM)
Your internet sharing setting?can print screen?
*
here is the setting.... just check the sharing option only..
[attachmentid=4696740]
sin2010
post Aug 5 2015, 04:31 PM

Getting Started
**
Junior Member
148 posts

Joined: May 2010
QUOTE(wcypierre @ Aug 5 2015, 11:36 AM)
OSX should have an Internet sharing feature like Windows and Linux w/ GUI where the DHCP Server is automatically run when u enable internet sharing. Otherwise, u can install a 3rd party dhcp server and give ip to ur raspi  laugh.gif
*
Any suggested good 3rd party dhcp server?
quadcube
post Aug 5 2015, 04:47 PM

Regular
******
Senior Member
1,924 posts

Joined: May 2009
From: Yokohama, JP


QUOTE(sin2010 @ Aug 5 2015, 04:30 PM)
here is the setting.... just check the sharing option only..
[attachmentid=4696740]
*
seem like your setting from OS X is ok,did u set static IP or DHCP assigned for your Pi? sweat.gif
wcypierre
post Aug 5 2015, 05:08 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sin2010 @ Aug 5 2015, 04:31 PM)
Any suggested  good 3rd party dhcp server?
*
le me not OSX user.

Anyway, plug ur raspi back to your router and edit this file: /etc/network/interfaces

CODE

auto lo
iface lo inet loopback

#My IP description
# IPv4 address
iface eth0 inet static
address 10.10.10.10
netmask 255.255.255.0


At your mac, set the ip of your ethernet interface(lan) to
ip: 10.10.10.11
netmask: 255.255.255.0

Plug your raspi to ur mac and access ur raspi via 10.10.10.10
sin2010
post Aug 5 2015, 08:13 PM

Getting Started
**
Junior Member
148 posts

Joined: May 2010
QUOTE(quadcube @ Aug 5 2015, 04:47 PM)
seem like your setting from OS X is ok,did u set static IP or DHCP assigned for your Pi? sweat.gif
*
the eth0 for rpi is set to dhcp.. i hvae tried to plug it in router, it can get ip form router... no sure why OSX is not working.

QUOTE(wcypierre @ Aug 5 2015, 05:08 PM)

At your mac, set the ip of your ethernet interface(lan) to
ip: 10.10.10.11
netmask: 255.255.255.0

Plug your raspi to ur mac and access ur raspi via 10.10.10.10
*
it that any special by setting to 10.10.10.10?
i have tried to set static on Rpi and OSX before, it worked, can ssh into RPi form OSX, but the problems was: Rpi cannot access internet via wifi any more.

My purpose connecting OSX to Rpi via LAN is for the case whne i cant access the internet ( when i bring it to some place which i do not have the wifi password), i got an other way to connect it, which is LAN for this case.

wcypierre
post Aug 5 2015, 08:27 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(sin2010 @ Aug 5 2015, 08:13 PM)
the eth0 for rpi is set to dhcp.. i hvae tried to plug it in router, it can get ip form router... no sure why OSX is not working.
it that any special by setting to 10.10.10.10?
i have tried to set static on Rpi and OSX before, it worked, can ssh into RPi form OSX, but the problems was: Rpi cannot access internet via wifi any more.

My purpose connecting OSX to Rpi via LAN is for the case whne i cant access the internet ( when i bring it to some place which i do not have the wifi password), i got an other way to connect it, which is LAN for this case.
*
no, as well as you put a private ip that is not used by any devices at your network then it will be okay (i.e 192.168.x.x)
replace x with any number from 2 - 253.

Anyway, the above is just for additional knowledge laugh.gif

Do the "2. Set up the client" where you will set Using DHCP for configuring IPv4 and it should work. Set back your raspi to use dhcp if you've changed it to static ip previously.
http://www.maclife.com/article/howtos/how_...ection_ethernet

Try and see if it works. I don't have a Mac so can't try it out personally

This post has been edited by wcypierre: Aug 5 2015, 08:28 PM
wcypierre
post Aug 5 2015, 08:41 PM

Newbie Programmer
Group Icon
Elite
4,619 posts

Joined: Jul 2011
QUOTE(quadcube @ Aug 5 2015, 12:59 PM)
I don't have access to the cluster currently,on holiday laugh.gif

but i made a no. thread vs time taken graph for two program

Attached Image
- MPI Prime number program

Attached Image
-MPI 2D Poisson equation using Jacobi algorithm

by right the performance graph should decrease exponentially,but the Prime number program doesn't perform as expected,as u mentioned,most probably caused by high IO

for the 2D Poisson equation using Jacobi algorithm,initially i set the no. of interior vertices and fractional accuracy for the program to complete faster,which almost the same graph as the prime program.
so i change the no. of interior vertices and fractional accuracy to be higher,which increase the required computing power for each Pi to get the exponential decrease graph,which indicates that the IO latency have become insignificant
*
for your 2nd one, when you wanted more accuracy, everything takes a longer time to complete. but eventually as you add more nodes your issue should still be on IO, because as you can see from the prime num test, when the requests is faster, the possibility of each node sending data back to the server at the same time is higher, so if your server node still runs on sd card, or even worse usb thumb drive(for storage of data), you should consider using a normal computer(desktop/laptop) or at least run raspi with HDD as the server node to solve the io issue and you should see a better result.

btw, you should plot it with nodes/time taken, because let's say you have 6 threads, I don't know if you're giving node 1 and spawn 5 threads and node 2 spawn 1 thread or node 1 2 threads, node 2 2 threads, node 3 2 threads, and the combination etc.

I believe this is some academic research stuff for uni/company? brows.gif

This post has been edited by wcypierre: Aug 5 2015, 08:44 PM
quadcube
post Aug 5 2015, 09:09 PM

Regular
******
Senior Member
1,924 posts

Joined: May 2009
From: Yokohama, JP


QUOTE(wcypierre @ Aug 5 2015, 08:41 PM)
for your 2nd one, when you wanted more accuracy, everything takes a longer time to complete. but eventually as you add more nodes your issue should still be on IO, because as you can see from the prime num test, when the requests is faster, the possibility of each node sending data back to the server at the same time is higher, so if your server node still runs on sd card, or even worse usb thumb drive(for storage of data), you should consider using a normal computer(desktop/laptop) or at least run raspi with HDD as the server node to solve the io issue and you should see a better result.

btw, you should plot it with nodes/time taken, because let's say you have 6 threads, I don't know if you're giving node 1 and spawn 5 threads and node 2 spawn 1 thread or node 1 2 threads, node 2 2 threads, node 3 2 threads, and the combination etc.

I believe this is some academic research stuff for uni/company?  brows.gif
*
the Pi cluster was just a proof of concept not performance crunching and yea,its really cool to have a cluster brows.gif laugh.gif i drawn to a conclusion that it all depends on how you split the task between all the nodes,good programming is required (some take decade just to write an optimised program).

the threads are actually simple,each Pi have 4 cores,so 4 threads,its balanced out (if u try to assign 5 process into one Pi,you would end up slowing down the whole program)

i did it just for fun since my lecturer had so many Pi 2 and didn't know what to do with it,but of course,academic ($$$++) brows.gif

142 Pages « < 120 121 122 123 124 > » Top
 

Change to:
| Lo-Fi Version
0.2257sec    0.51    6 queries    GZIP Disabled
Time is now: 10th December 2025 - 07:15 PM