Mpi Send / Receive Comm Time with IO Streams

I'm currently benchmarking Mpi like software on a cluster and I ran into a strange discrepency in communication time.
For simplicity here, I'll be referring to simple synchronous send / receive commands in which 8 bytes of data are sent or received during each command.
In a two compartment case, the compartments are connected via a Socket and the input/output streams are pulled from the socket. In the most simple case, compartment 1 sends a double value to compartment 2, and this repeats 1e6 times. In doing this the average communication time per send / receive operation is about 1 microsecond.
In the next more complex case, compartment 1 sends a double value to compartment 2, then compartment 2 sends that double value back to compartment 1.
This is where communication time increases to 10 microseconds (on the same Compute Node) or up to 100 microseconds (inbetween different Copute Nodes).
At first I was doing the send and receive on the same socket using it's input and outputstreams. To make sure that wasn't a bottleneck, I separated the 2way communication into two different sockets, but that large communication time still existed. (No significant change).
With one-way communication, even with the blocking send/receive methods, communication is still remarkebly fast (1 us). So what I'm trying to figure out is: why does this increase 100 times when doing a send & receive, then the reverse operation?

Looks like low entropy could be the cause. Here are some useful links:
Re: JDBC Connection Reset when using many processes on 64 bit system
http://serverfault.com/questions/298698/low-entropy-on-centos-5-after-new-mount
http://www.ghidinelli.com/2011/01/11/cold-fusion-slow-start-messagebrokerservlet
http://www.usn-it.de/index.php/2009/02/20/oracle-11g-jdbc-driver-hangs-blocked-by-devrandom-entropy-pool-empty/
How would I set up the server so that rngd feeds /dev/random with entropy from /dev/urandom, such that this modification sticks upon reboot (so I don't need to remember to execute some command line statement upon every reboot)?
Edited by: 918175 on Mar 5, 2012 4:49 PM

Similar Messages

  • Since last weekend (3-15-15) I have been unable to send/receive text messages with a friend who has Sprint service. The messages send with no errors on either side, but neither side is receiving the messages. Is anyone else having any similar issues?

    Since last weekend (3-15-15) I have been unable to send/receive text messages with a friend who has Sprint service. The messages send with no errors on either side, but neither side is receiving the messages. It seems to be only this one person affected by this issue, everyone else that I've tried sending messages to has responded with no trouble. Is anyone else having any similar issues?

    Retrohacker, Your text messages are too important to be missed! Let's figure this out, together. Are you able to successfully make and receive calls from your friend? Which phone do you have with us? Any new messaging applications or changes that you can recall on the phone since this issue began? Please share details so we can get to the bottom of this for you.  TanishaS1_VZW Follow us on Twitter @VZWSupport  If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • I have BIS but can't send/receive email, surf with internet browser

    i have BB Curve 8520. My BIS was running smoothly (sending and receiving emails real time and surfing the net through BIS), until i noticed when i tried to reply to an email that came in, it won't send. i noticed that it's fluctuating. i was able to send the email after a few minutes... then a few minutes later, i received a replied email from my friend, and when i tried to send my reply, i wasn't able to. also, i can't surf using the browser with the "internet browser" as default. i tried using my wifi and then suddenly all my emails started coming in, all emails that were not able to go through hours ago. my big question was why do i need to turn on wifi just to receive emails. but since i had my BIS for 2 months now, i can send and receive emails and surf through BIS itself without turning on the wifi.  also, i can't use any of my apps like facebook, twitter, yahoo messenger, etc.  They used to work fine with BIS... but now, i have to turn on the wifi connection, so i could log in with them.  aren't these supposed to be running through BIS only?
    I have GPRS on top, not gprs.
    so, i wiped out my BB and deleted all third party apps. when this was done, i received emails telling me "Your handheld has been registered with the wireless network" and even got "Activation Server" emails telling me that the emails that i have previously set up are now up and running. so i thought my BB is now ok.. i tried surfing, it was okay. after like about 5 minutes, it was down again. tried sending email but can't... i turned on the wifi and boom! the emails started coming in again.
    i have the Host Routing Tables and my Service Books in my BB. I have GPRS (not gprs) on top which means i have active BIS.  i have registered my HRTs several times... and resending my service books... same thing...
    -My carrier has not reported any data outage.
    - I'm in an area where I've had RIM data services (for months now). It has always been working well. I've never really had any problems with my BIS until 4 days ago when it just suddenly stopped sending/receiving emails, surfing through internet browser, using facebook, twitter, ym apps, etc.. 
    -the big mystery is when i turn on the wifi, the emails suddenly go through and i can send emails. i can open apps that used to only run on BIS. this is ok i guess, but i could never do any of these if i'm not connected to wifi.
    -i've read somewhere that it may be some application error or something, so I've wiped out my BB thrice now, deleted all third party apps, everything is clean i guess, but still I end up with the same problem.
    -i updated my OS, same problem.. wiped it out... used BBSAK, reinstalled OS... same thing...
    can you help me out with this? i have tried battery pull, wipe out and OS reinstallation lots of times but same problem happens... 

    Hi tarifiq and welcome to the BlackBerry Support Community Forums!
    Can you send me a private message with your PIN so I can check this out for you?
    Thanks
    -CptS
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • How to send/receive e-mails with sql or pl/sql

    Hello,
    I must send and receive e-mail (something like e-mail client) done with oracle database and oracle forms.
    How can I receive e-mails with SQL? Is there any way?
    I read threads about using utl_smtp but i could not send an e-mail. May be I need to use servers without password?
    Best regards
    P.S. I'm using Forms 10g R2 and database 9i

    Hi,
    try below code.
    change mailhost ip to u r mail server ip.
    CREATE or REPLACE PROCEDURE SimpleTextMessage IS
    mailHOST VARCHAR2(64) := '192.168.0.21';
    mailFROM VARCHAR2(64);
    mailTO VARCHAR2(64);
    mailCONN utl_smtp.connection;
    mailDATE VARCHAR2(20);
    vreply utl_smtp.reply;
    vreplies utl_smtp.replies;
    i number;
    BEGIN
    mailFROM := '[email protected]';
    mailTO := '[email protected]';
    SELECT TO_CHAR(SYSDATE,'MM/DD/YYYY HH24:MI:SS') INTO mailDATE FROM dual;
    vreply := utl_smtp.open_connection(mailHOST, 25, mailCONN);
    vreplies := utl_smtp.help(mailCONN, 'HELP');
    for i in 1..vreplies.count loop
    dbms_output.put_line( 'text = ' || vreplies(i).text );
    end loop;
    vreplies := utl_smtp.ehlo(mailCONN, mailHOST);
    for i in 1..vreplies.count loop
    dbms_output.put_line( 'text = ' || vreplies(i).text );
    end loop;
    vreply := utl_smtp.mail(mailCONN, mailFROM);
    vreply := utl_smtp.rcpt(mailCONN, mailTO);
    vreply := utl_smtp.open_data(mailCONN);
    utl_smtp.write_data(mailCONN, 'Subject: '|| 'Hi' || chr(13));
    utl_smtp.write_data(mailCONN, 'From: '||mailFROM || chr(13));
    utl_smtp.write_data(mailCONN, 'Date: '||mailDATE || chr(13));
    utl_smtp.write_data(mailCONN, 'To: '||mailTO || chr(13));
    utl_smtp.write_data(mailCONN, 'CC: '||mailFROM || chr(13));
    utl_smtp.write_data(mailCONN, chr(13));
    utl_smtp.write_data(mailCONN, 'Hello Friend how r u.' || chr(13));
    vreply := utl_smtp.close_data(mailCONN);
    END;
    /

  • Send/Receive Text Msgs with Nokia 6230i and MacBook

    I was told that it is possible to pair some bluetooth enabled mobile phones with the MacBook and to send/receive text messages. When a message is sent to the phone, it shows up on the Mac. The user can then reply from the Mac and it gets sent to the receipient's phone. Does anyone know how to do this? Is there a different application to facilitate this?

    You do it in the Apple Address Book application.
    How to Send and Recieve SMS Messages Using Bluetooth
    Your phone not be supported as Apple have not updated Address Book's phone support for years.

  • IMessage not sending, receiving or synching with iOS 6 devices

    Yesterday iMessage on Mac (runing ML 10.8.2) stopped being able to send, received and synch.  Seems to have coincided with changing of passwords, which I believe all devices (iMac, iPhone and iPad) are using the same password.  Has anyone has a similar experience where Messages was working but then stopped.  It is still working on iPhone but is not updating the iPad or iMac. Similary, when I send a Message on the iPad neither the iPhone nor the iMac are updated.

    iMessage has stopped on my iMac - ML OS has played up twice in the past week. Reboot etc doesnt solve it. It works fine on iPhone 5 and iPad 2 but will not open on iMac. Error message 994 bad access etc and keeps quitting and message box say  it is inactive. When I got to preferences it Quits! All messages have disappeared aswell. Any ideas? It will cost me £35 to call apple to get the answer( as the iMac is outta warranty but only 4 years old). Help?

  • JDBC Sender/Receiver Adapter Configuration with key fields in SAP XI

    Hi All,
    Good evening.
    Please let me know, what are the settings required for key fields when configuring both sender and receiver Adapter?
    In My IDOC-XI-File Scenario, when i am sending an IDOC from R/3, I got Mapping Runtime exception error? So, How to send the same IDOC after correcting the error?
    Thanks to all in advance.
    Regards,
    Nagarjuna.

    HI Nagarjuna,
    If my understanding is correct, When you trigger the Idoc from R/3 it thrown the error in XI.
    If  you want to send the same Idoc then go to WE19 in R/3 system enter the same Idoc number and execute the scenaio. It send the Idoc to XI system, but the message number will change.
    Regards
    Goli Sridhar

  • How to configure HTTP receiver comm channel with dynamic URL parameters?

    I need to perform HTTP Post using PI. URL contains some parameters. I need to set these parameters with different values in run time.
    Please help to do this.
    Thanks
    Ranji

    Check the section Adapter Specific Message Attributes from this help section:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    The parameters can be set in the Message Mappinga nd then using the appropriate options in communication they can be included in the message header....for more info search with keywords "Dynamic Configuration" and you will get to know how the procedure works.
    Regards,
    Abhishek.

  • TS4002 Cannot send/receive iCloud email with Mail

    About a week ago I stopped being able to send/recieve icloud email via mail on my iMac.  Everything is correct in my settings except the incoming server information.  Mail defaults to p03-imap.mail.me.com, and will not let me select or edit this option.  I know all my other settings work correctly because I can access iCloud email via my iPhone, iPad and a Windows 7 laptop running Thunderbird.  However my iMac is my primary computer and I would like to get this issue corrected.  Does anyone have any suggestions?

    I am trying to determine the reason that the Mail program has stopped working with iCloud.  All of my settings are correct, and have been verified as working with another application (Thunderbird), and work on hand held devices (iPhone and iPad), but will not work within Mail.  The only thing I could find that didn't match the referenced online materials was the p03- portion of the IMAP server address.  If you have any suggestions, I'm happy to listen to them.

  • Cannot send/receive mails anymore with BB9300

    Hi, since the last 2 weeks, mails do not arrive to nor leave anymore from BB 9300.
    When I try to change my mail address, I cannot access the server
    Error message is "your terminal encounters a problem when trying to connect to the application server"
    What should I do to fix the problem ?
    Thank you

    Hi and Welcome to the Community!
    With a strong carrier network signal (e.g., not merely WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    Please wait for one "registration" message to arrive to your Messages app
    2) Delete and Resend Service Books (pre-BB10 devices only)
    KB05000Delete the service book for the BlackBerry Internet Service email account from the BlackBerry smartphone
    If you have no CMIME entry, then skip the deletion
    KB02830 Send the service books for the BlackBerry Internet Service
    Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
    3) Reboot
    Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. IF this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • SMTP send fails first time with exchange server. how about you?

    I run a 2007 Exhcange server at our business...never an issue with OSX working with it.
    Now that I've upgraded to mavericks anytime I have an attached of any good size (screenshots, photos) it fails the first time...and when I try to resend it goes. This issue doesn't exist with small attached (signatures for example) or blank emails.
    Anyone have this issue with Maverick/Mail.App?
    Before you start to tell me that I need to increase the attachment size on my exchange server it already permits up to 99,999KB and if it was being blocked due to size the 2nd attempt would not work either.

    Ok, so I've gotten Cups and wicd autostarting, set the static ip from my router because else it wasnt getting DNS etc details and left it asking for that by dhcp.
    Still having issues with the DE
    pedro_sland wrote:
    If DE is required, Xorg must be started in tty1, startlxde ran in tty2, and then manually switch to tty7 for the DE.
    I run xfce4 sometimes. I just run startxfce4 and it starts Xorg and displays the DE. I think that startx runs twm which you probably don't want so you might want to take a look at that. startx has a script it runs somewhere (I forget where but the wiki will know). When I'm done with xfce I just log out and it exits.
    For me, this isnt working. startlxde on its own just goes to
    [root@yomiko ~]#
    in tty1, and leaves me with a blank screen when i switch to tty7
    I literally must call Xorg in one tty, startlxde in another and then manually shift to tty7 to see it.
    startx itself:
    -bash: startx: command not found
    Even Xorg isnt happy being called on its own, that too goes to a blank screen, though it does at least switch to tty7
    With Xorg called in tty1, when i call startlxde in tty2 i get dbug errors from pcmanfm though these seem to be just it informing its detected the HDD partitions.
    there is a grumble early on in the process, before the debug errors, saying:
    Importing pynotify failed, notifications disabled.
    Finally, I did add the line to .xinitrc the LXDE page in the wiki said to to allow startx to run:
    exec ck-launch-session startlxde
    This is the only line in this file.
    Currently running as root... I'm not going to complicate matters by adding a user until im sure i got it all running as root, bad practice or not!
    Edit: A friend helped me solve it.
    The package xorg-xinit held the startx script that was missing. I now get LXDE when i want and only when I want.
    Last edited by Rhiadratech (2011-05-20 23:09:16)

  • How can I set me E-mail to come to my server automatically rather than having to use "Send/Receive" each time I check for mail?

    When I used THE BIG BLUE "E" it cam in every few minutes and a tiny envelope appeared on my screen to alarm me.

    Which webmail service are you using?
    Look for a [https://addons.mozilla.org/en-US/firefox/search/?q=notifier&appver=16.0&platform=windows webmail notifier add-on] for that webmail service.

  • I am not able to send/receive text message on my N...

    Hello:
    I bought a Nokia 5800 in India last summer. I used a local SIM card (Airtel) when I was there. I was able to send/receive text messages when I was in India.
    I came back to Chicago and replaced the Airtel SIM card on my 5800 with my AT&T sim card. I have a pay-as-you-go service with AT&T. I had used a Sony-Ericsson Z300a phone with my AT&T service before I bought my 5800. I did not have any problems sending/receiving text messages with the Sony-Ericsson phone using my AT&T SIM card.
    I don't have any problems using my 5800 with my AT&T SIM card for calling or sending/receiving multimedia messages. I just cannot send or receive any text messages. I have checked the message center number setting on my 5800 and it appears to be correct. I have also done a hardware reset of the 5800 and the problem remains.
    Any clues?

    Hello parsar. Even if you have the correct Message Center number there, it's worth a try to delete the existing one and enter the correct one afresh. Make sure you have the latest firmware on your phone, and that there are no applications that may interfere with sending/receiving sms, like some filtering software.
    Hope this helps
    And, pakiboy, resetting to factory settings (by typing *#7780#) will NOT delete anything in the phone memory.
    Cheers,
    DeepestBlue
    5800 XpressMusic (Rock Stable) | N73 Music Edition (Never Say Die) | 1108 (Old and faithful)
    If you find any post useful, click on the Green "Kudos" Button on the left to say Thank You...

  • Set of subVIs for sending/receiving SMS written in LabVIEW

    I've just post a set of programs  for GSM modem on the following site:
    https://sites.google.com/site/tstalevski/labview-send---receive-sms-message
    With these subVIs you can send, receive, delete and list SMS meseges. Also you can easily test AT commands.
    If you have some questions regarding to using programs do not hesitate to contact me by e-mail.
    Trajan Stalevski
    [email protected]

    Hi
    There is no need to develope mobile application for
    sending SMS from the PC.
    n general, there are two ways to send SMS messages
    from a computer / PC to a mobile phone:
    Connect a mobile phone or GSM/GPRS modem to a
    computer / PC. Then use the computer / PC and AT
    commands to instruct the mobile phone or GSM/GPRS
    modem to send SMS messages.
    Connect the computer / PC to the SMS center (SMSC) or
    SMS gateway of a wireless carrier or SMS service
    provider. Then send SMS messages using a protocol /
    interface supported by the SMSC or SMS gateway.I would like to know how do you set up the whole thing. What are AT commands and Where do i get thm and how do i use them. i am sorry for asking so many question but i am really interested in knowing this. I am doing my school project which requires me to send sms from my PC.
    Please help!!!!
    Thanks
    Kholi

  • Cannot send/receive messages from other carriers...help!

    Has anyone had this problem? If so, please help me out! I can send/receive text messages with other AT&T users but not with any other carriers.
    Thanks!

    AT&T will have to fix this issue, same thing happens to me. I call AT&T and told them I can't send or recieve mms from some carriers, AT&T had to update my account somehow they said they use some 3rd party service to direct mms and mine needed a update, they said it takes 24 hours after they notify the other company... My mms is working now for all carriers. Give AT&T a call and they will fix it .

Maybe you are looking for

  • Misleading ADH Information Provided By Best Buy Associates

    Let me start by saying that Best Buy WAS my most FAVORITE store UNTIL walking into store on 03/08/14 in Alabama. I am a 31 yr old customer that has been purchasing electronics from Best Buy since 2003. The management and sales associates in the store

  • How can I change the application default template

    Hi! If I go to Application Shared Components | Definition | Template Defaults I can see the default page template used by my application. One would think that this is the place to change the default template if wanted to change it, but NOOOOOOO..., l

  • Transferring file from my old iBook

    I've searched for the instructions to transfer files from my iBook to my MacBook but have come up empty. Would someone be kind enough to give me instructions?

  • How to connect R3 to Portal

    Hi all, Can any one tell me how to connect R3 to Portal step by step ? Please... I am new to Portal environment.. Regards, Murugan Arumugam.

  • Create a variant in SM30

    Hi All!! Could anyone please let me know how to create a variant in SM30? I want to save some input so that I need not enter it everytime I run the tcode SM30, so how do I do it? Thanks.