Delay caused by encryption

Hi Expert,
Could anyone enlighted me on the delay time to be occurred after the encryption (AES 128) is enabled? Below please find the existing information for your reference.
Site A:
Router: 7200VXR
WAN circuit: 5M
Case 1: 256K traffic will be sent from site A to site B and last for 5 minutes.
Case 2: 256K traffic will be sent from site A to site B and last for 5 minutes with AES 128 to be in placed.
Site B:
Router: 7200VXR
WAN circuit: 3M
Case 3: 256K traffic will be sent from site B to site A and last for 5 minutes.
Case 4: 256K traffic will be sent from site B to site A and last for 5 minutes with AES 128 to be in placed.
Any reference URL regarding delay caused by encryption would be much appreciated.
Anita

@Joe D.
I'm using LabVIEW 2010. The actual VI is part of a large, complex system that there would be no way for me to upload here. I've made a simple, bare-bones VI, though, that simulates what we need to do and reproduces the problem.  The attached VI requires an img1.jpg and an img2.jpg in the same folder as the VI. Note that we could have much more than 2 images, so although in the example VI re-drawing the images in the hidden picture box isn't necessary, it is needed in our actual system.
@Yamaeda
Thanks again for your suggestions. I looked into pict rings, but I couldn't figure out a way to programmatically populate them. It seemed like all the images had to be loaded ahead of time. I tried the .NET PictureBox without success but I'll give it another shot. It just seems unreasonable to me that displaying an image would take that long. It isn't a restriction due to the Computer or OS itself, because I know this can be done in C++ and I think even in MATLAB. It also seems like no matter what I use to draw or show the image, and whether it's in parallel or not, the delay occurs as if's delaying all of LabVIEW's threads no matter what.
Attachments:
imgDisplay_demo.vi ‏52 KB

Similar Messages

  • Compensation of delay caused by activity

    Hi Experts
    During the execution phase, it is observed certain activities have taken more duration than the planned.
    At this juncture, to cover up the deviation, is there any facility to understand where this lagging can be compensated.
    Or, can i use the reduction functionality, to compensate the delay caused by the already executed activities?
    warm regards
    ramSiva

    the quesion is, do you want to compensate the time technically or for your real business case.
    Technically you can simply shorten the duration or maintain the remaining duration or forecast fnishdate to compensate the delay. Surely you can using reduction functionality.
    In the real life, either the you need more capacity (e.g. instead a person using multipe persons) or the person has to to the night shift.
    Kind regards,
    Zhenbo

  • IO delay causes buffered streams to hang

    I'm writing an application that uses the network and in order to test under slow conditions I created custom input/output streams that just puts in a delay in the basic read() and write(int b) methods before calling the method for the stream passed in the constructor. This allows me to find problems where the interface hangs under slow conditions etc. very quickly.
    The problem is that on buffered streams (I have specifically had trouble with BufferedReader and BufferedOutputStream) it causes the stream to just hang. It works fine without the stream with the delay but with it something is causing a hang. I think it may have something to do with the network because I don't have the problem with File IO. Does anybody know why a delay would cause a buffered stream to hang?

    Well the I know the socket has not timed out. I usually set the delay about 1 to 3 milliseconds. This will happen everytime a read() or write(int b) occurs so it is enough to slow things down.
    This is a code sample that shows the basic idea for reading in a file:
    import java.io.*;
    public class Example
    static class SlowInputStream extends InputStream
    private InputStream in;
    public SlowInputStream(InputStream i)
    in=i;
    public int read() throws IOException
    try { Thread.sleep(3); }
    catch(InterruptedException e) {}
    return in.read();
    public static void main(String[] args)
    throws IOException
    if(args.length==0)
    System.out.println("Need filename.");
    System.exit(0);
    SlowInputStream sis=new SlowInputStream(
    new FileInputStream(args[0]));
    BufferedReader in=new BufferedReader(
    new InputStreamReader(sis));
    String text;
    StringBuffer temp=new StringBuffer();
    while((text=in.readLine())!=null)
    temp.append(text);
    temp.append("\n");
    System.out.println(temp.toString());
    I would have posted a networking example but I create a subclass of PlainSocketImpl to so I can wrap all the streams networking streams and this requires to set the bootclasspath, but the above shows the basic technique.
    Thanks

  • IPhoto Startup Delay cause by WiFi

    Symptom/Observations:
    Scenario A:  Start iPhoto with WiFi turned on.
    iPhoto comes up quickly (can even see the thumbnails), but then immediately hangs (beach ball) for 8-13 seconds.
    (sometimes you need to click on a photo to display the beach-ball cursor)
    Scenario B:  Start iPhoto with WiFi turned off.
    iPhoto comes up quickly and is immediately usable (no beach ball).
    Scenario C:  Start iPhoto with WiFi turned on, when you see iPhoto hang (beach ball), turn WiFi off.
    iPhoto comes up quickly but then immediately hangs (beach ball).   From previous tests, we can expect it to hang about 8-13 seconds.  But this time, within 3-4 second after observing the Beach Ball come up, you quickly turn off the Wifi.  The beach ball goes away within about 1 second of turning off the WiFi.
    I do not put my photos on iCloud.  I double checked to make sure that my iCloud profile is disabled for photos.  Therefore, I would not expect any WiFi delay when launching iPhoto.
    Apple Marketing:  This makes your product appear slow, lumbering, and on the verge of a crash.
    Apple Programmers:  I didn't change any user settings.  Hence, your code is what changed the behavior.  Was this intentional?
    Apple Production Architects:  Was this change in product behavior intentional?  Did you write down (e.g. document) the change somewhere, such that the consumer would have some expectation as to what they were getting?  (sorry, a tool that once popped up ready for use for 10 years, should not suddenly display 10 seconds of beach ball every time I launch it).
    User Community:  Yes, I plan on sending in a feedback report to Apple after hearing what other people are experiences and whether or not they've found the cause/solution.

    I had the same problem - wifi on, launch iPhoto, events visible, 30 seconds of spinning beachball, then everything works. Wifi off, launch iPhoto, everything works instantly. Tried rebuilding the database, no change.
    MacBook Pro Mid 2009 model, clean install of Mountain Lion to erased HD, transferred all user info and applications with migration assistant from backup hard drive during install, iPhoto '09 with ca. 2K pictures in library.
    What I finally found was this link http://blog.jonahb.com/?p=502
    I had OpenDNS servers 208.67.222.222 and 208.67.220.220) set in my Wifi Settings (System Preferences->Network, choose WiFi, click Advanced button, select DNS tab).
    Changed to Google DNS servers (8.8.8.8 ad 8.8.4.4) and the spinning beachball problem went away, iPhoto opens instantly with wifi on.
    Been working perfectly all day. So far, so good. Hope this helps.

  • Networking Delay Causing Mayhem

    First, I know that others have reported networking issues in Leopard. I wanted to start a new topic with my specific issue and see if others are having the same problem.
    When accessing a website, sometimes there is a delay of about 10 seconds. Think "Contacting google.com" in Safari. This does not happen when in Windows XP. I am connecting to the Internet through a Netgear GS105 Gigabit Switch to a Linksys WRT350N Router to my Cable Modem.
    I did a bit of tinkering in Terminal and found the same behavior when doing "ping google.com". There is a delay of about 10 seconds--sometimes--until I start seeing pings. This ring a few bells for anyone out there?

    I fixed my problem! I had to remove the Active Directory stuff from Directory Utility. This has totally eliminated the problem. I hope Apple fixes this as I would like to continue to use AD on this system. At least, I have an interim solution. Hope this helps someone else out there...

  • Android - long frame delay causing wierd screen redraw

    I am building a game for android devices using Air 3.5 and Flash Builder 4.6
    Some of my game sections have quite a bit of loading to do, so broke them up on a time to only load a little bit at a time, thus allowing enter frames and timers to fire between each chunk... and I put a spinning tumbler on the screen as a wait indicator.
    however, some of the chunks still take a bit of time to execute (usually when processing large images and such) and can take several hundered milliseconds to execute.
    Now, this is not the problem.
    The problem is that on these frames that take longer than 33 milliseconds (fps is set to 30) the spinner on screen seems to "jump" backwards for a partial frame.
    It's almost like the when the current enterframe runs, there are 2 screen updates occuring... the first update shows the screen contents as they were before the screen started to redraw, and the second updates the screen to what it should be now.... the result is that for that partial frame update, the spinner seems to "jump back" a couple of frames.
    This does not occur on the iOS devices or the pc, only android.
    Anyone know what could be causing this and how I could stop it from occuring?

    Found out what the problem was.
    When I was drawing text as an image, I would convert the stage quality to best, do the drawing and convert it back to low.
    Since was old code left over from a while ago. I have since altered this code to use drawWithQuality instead and took out the stage.quality changes and the problem has gone away.

  • How to reduce delay caused by coding?

    Hi,
    I am fairly new to C++ programming and using DAQ boards. I've been browsing this board for awhile and let me first thank everyone who has contributed - most threads were very helpful.
    However this problem I have right now didn't come up in any searches so hopefully someone could help me out.
    I am using the NI-6115 PCI DAQ board and I am trying to write a simple C program that continuously counts the number of input pulses to a counter within a time period.  The program also has to continuously output the result onto the screen.
     So basically this is what my code looks like:
     while( 1 ) {
            DAQmxErrChk (DAQmxReadCounterScalarU32(taskHandle,10.0,&data,NULL));
            count = data - data1;
            if ((long)count < 0)
                (uInt32)count = data + 16777216 - data1;
            data1 = data;
            printf("\rCount: %d.  Press Ctrl+C to interrupt.            ",count);
            fflush(stdout);
            DAQmxErrChk (DAQmxWaitForNextSampleClock(taskHandleCtr,10.0,0));
     The sample clock uses another counter's output pulse train as the source.
    The problem is, the desired execution time of each iteration is around 40 - 50 microseconds.  With the above coding, I could only achieve 800 microseconds per iteration.  If  I set the sample clock any faster, an error will occur telling me that two sample clock pulses have occured before the "DAQmxWaitForNextSampleClock" instruction is reached.
    Would it be the computer that I am running the program on?  The speed of the DAQ board?  Or just poor programming technique on my part?
    Thanks in advance
    Howard
    Message Edited by HT156 on 05-14-2009 06:17 PM
    Solved!
    Go to Solution.

    Thanks for you last reply David.
    Since switching to a new OS is not an option for me, I have decided to reconsider my program logic in order to achieve an even faster time. 
    I have decided to store the read counter values first then do the calculations later.  Also, I have omitted the part of continuously printing the results onto the screen.  Here's what remains of my code, which is incomplete.
    while( 1 ) {
            DAQmxErrChk (DAQmxReadCounterScalarU32(taskHandle,10.0,&data,NULL));
            DAQmxErrChk (DAQmxWaitForNextSampleClock(taskHandleCtr,10.0,0));
    However even with those two lines of codes I am only able to get down to 350 microseconds per iteration before WaitForNextSampleClock returns an error.  I was wondering if there is a faster read function to read the counter value than  DAQmxReadCounterScalarU32?  And is there a way to bypass the CPU and store the counter values direct onto the DAQboard?

  • Tooltip delay causes tooltip to remain after focus left item

    Hi,
    We are migrating from Forms 10g to Forms 11.1.2.0.0 and have an issue with tooltips.
    If the mouse cursor happens to move quickly across an item that has tooltip text, the tooltip can appear after the cursor has left the item. Since the cursor is no longer over the item, the tooltip text remains on screen unless you either move the cursor back to that item and away from it again, or hover over another item with tooltip text. This issue did not occur in the previous 10g version of our forms.
    Any help appreciated.
    Nick.

    This is/was a known issue and has been corrected. Also, just an fyi, the issue reproduced in all versions starting with 10.1.2.3. Fixes are available as follows:
    <blockquote>Forms 11.1.2.0 - use Patch ID 14037368
    Forms 11.1.1.4 - use Patch ID 14058674
    Forms 10.1.2.3 - use Patch ID 14041415 (some platforms may not be available yet) This also requires that Bundle Patch 9593176 be installed first - be sure to read included Readme as other prerequisite patches may be required. </blockquote>

  • DES3 encryptation bug

    Hi, I need to use the dbms_obfuscation_toolkit package with the DES3 encryptation but when I execute it, I receive the following error:
    Oracle Error :: ORA-28235
    algorithm not available
    Cause
    The encryption algorithm desired is not available.
    Action
    Run the installer to install the needed algorithm in Oracle Advanced Security.
    Please, can anyone tell my if exists a bug in the Oracle 8.1.7 because I can't install it. I think that is the Bug No. 2403005 ... Thanks!

    It looks like it might be bug 2403005.
    the fix is to install 8.1.7.1.1 and to install 8.1.7.3 on top of it
    Or
    to license the Advanced Security product which is not included with the standard edition
    Or I note that it is listed as fixed in 8.1.7.4.1. You might consider upgrading to this higher release of 8.1.7. For that matter you might consider upgrading to 9.2.0.8 or 10.2.3
    But I know you need a short term fix and upgrades are not short term. I think the 8.1.7.4.1 patch set would be my choice. If I have to have an 8.1 system I want it at the end of the line.
    That choose a method other than DES 3.
    HTH -- Mark D Powell --

  • How do I disable automounting of an encrypted drive?

    What I'm trying to achieve is a separate Firefox profile for business and personal use (separate bookmarks, history, etc). I also store these profiles on encrypted volumes. This part works well.
    The problem is, when Firefox starts, it always reads data from each profile location, presumably to get some information about the profiles. This causes each encrypted volume to attempt to mount, and a password dialog to come up.
    How can I stop this?

    It's possible to recover files using recovery software such as Data Rescue II, File Salvage or TechTool Pro. Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

  • Delay in text click-drag selection in Safari

    A very annoying bugginess that has arisen in Safari for me:
    Delay of text selection.
    I will attempt to click and drag to select text, but depending on how fast I move the mouse, a delay causes the action to miss the first part of the selection, as if the initial downward click of the mouse is delayed. I suspected the mouse first and foremost, as the Mac Pro and it's unreliable front USB ports have caused keyboard/mouse issues in the past for me. However, only Safari seems to have this issue. Copy/Pasting is quite a chore now, as I need to click and hold for a period of time before dragging, to insure I get all I need to select.
    Latest OSX patch
    Latest Safari version

    Nobody having similar issues hmm?

  • Urgent! Can't open encrypted file under the same user.

    My system is X61s, Windows XP pro sp3.
    There is no change of user account, no reinstallation or recovery of system.
    I used EPS encrypted some of my important files last month. Without any user account changes and system reinstallation I suddenly can not open the encrypted files anymore. I am aware that the change of user account or reinstalling the system will change the encrypted ID, then the encrypted file will not be opened unless there is a digital certificate of the user that encrypted the file. However I have been using the same user account since I bought the laptop and I have never reinstalled or recovered the system.
    I have tried to encrypted some other files and these files can be opened without any problem. But only the file that I encrypted about a month ago can not be opened.  Those are very important files for me. Can anyone help me to get my files back please!!!
    mod edit: moved to windows forum for better exposure.
    Message Edited by erik on 10-01-2008 11:51 PM

    hello you did not mention any error messages you were facing??
    i can only assume you are getting the follwing messages if you try to open an encrypted file...
    Cause: Encrypting File System (EFS) only works on files and folders on NTFS file system volumes. If the folder or file you are trying to encrypt is on a FAT or FAT32 volume, the Advanced button does not appear in the properties of that folder or file.
    Solution:
    Convert the volume to NTFS with the convert utility.
    Open command prompt
    Type:
    convert drive /fs:ntfs
    where drive is the drive letter of the intended drive.
    "the recovery policy configured for this system contains an invalid security certificate" or "BAD_RECOVERY_POLICY" OCCURS
    Cause: The Encrypting File System (EFS) recovery policy implemented on this computer contains one or more EFS recovery agent certificates that have expired. These certificates cannot be used.
    Solution:
    Either renew the existing certificates or generate new certificates for the EFS recovery agents and reapply the recovery agent policy with those certificates.
    the acess denied message occurs when trying to open an encrypted file
    Cause: The file was encrypted by Encrypting File System (EFS) using a public key certificate and the associated private key for this certificate is not available on this computer.
    Solution:
    Locate the private key for the appropriate certificate and import it onto this computer using the Certificates snap-in.
    Cheers and regards,
    • » νιנαソѕαяα∂нι ѕαмανє∂αм ™ « •
    ●๋•کáŕádhí'ک díáŕý ツ
    I am a volunteer here. I don't work for Lenovo

  • Offline Files: Win 7 client - Encrypt files only went halfway, now neither?

    Hi all.  I was just doing some testing with this Offline Files feature.  This is my first time testing some of the additional management options for it.  Client is Win 7 Pro (64bit), server is 2008 R2 and AD is a basic single-server type design
    (a few VMs) at 2008 R2 functional level. 
    The process seemed simple - a brand new compuer, by default all redirected folders enable Offline Files.  I also picked one network share (the user's home folder on the server, not much space usage). 
    The issue, and this post, is about the Encryption tab (under Sync Cener > Manage Offline Files).  I can't recall offhand if I had finished the First-time sync or not, but at some point I clicked the Encrypt Files button.  This seemed to progress
    for a while, until it popped up a message saying a particular file was already in use by another user.  At this point, it dropped out of the encrypting files progress screen. 
    Now I had the button changed from Encrypt Files to Encrypt Remaining Files.  I took this to mean it would simply resume where it left off once clicked.  Instead, I click it and nothing happens, no progress screen.  I rebooted, camne back into
    Sync Center, and it showed a status of Ready for first-time sync.  Unsure of why since it had previously said "last sync on date/time", I still went to the Encryption tab. 
    Long story short, when I first entered this Encryption tab, only hte Encrypt button was available, the Unencrypt button was greyed out.  Now when I go in, each tmie, after some reboots, it's always both but they alternate, one saying encrypt or unencrypt
    remaining files.  S it's like it i scaught halfway between fully encrypted or not encrypted at all. 
    I rebooted, looked at Disk Usage, and it says 0MB.  So I did one more "first time sync" and let that go to completion before anything else.  Now it says 1.31GB which is perhaps about right.  Now, I see Encrypt Files, and Unencrypt
    Remaining Files.  I click the latter button, I see a progress screen for a little bit, then that disappers and I still see both buttons in the same state. 
    With this being my first time with this Offline Files stuff I am thinking this is very non-robust.  There should be a way to just start over, a "clear all" type of button.  Can anybody advise on how I should proceed? 
    Thank you. 

    Well it seemed to have worked after all, but it took until the following day to show.  That is, I followed the steps to make that registry key, rebooted and so forth, didn't see any changes, rebooted more, no changes still.  The following day I
    went to look at it and it had cleared itself up.  It seems the Offline Files feature just needs some general improvement but that's eomthing I can't control.  Perhaps on the next test system I run into this won't be a problem. 
    By the way I later learned that the reason this "file in use" error occurred during encryption (thus caused the encryption to mess up and not work anymore) was simply because it was in use by that user on another computer logged in.  This same thing
    causes sync errors when sync'ing, if the user is on another machine using that file.  So again this sounds like MS just needs to beef up the management functionality of this feature I guess. 

  • Delay in recorded audio on playback

    Hi, tracking vocals today and after I record a vocal and hit play, I don't hear anything immediately and then it pops in after a few seconds....wasn't doing this yesterday...
    thanks

    samplaire wrote:
    If you have any delay producing plugins on the track you record on or on the master track the delay is normal. However you can avoid it by using the 'low latency mode' switch which is located in the transport bar:
    image:!http://www.samplaire.com/images/planetz/lo1.jpg!
    If the switch is not present, rightclick in the transport area to open the following menu:
    image:!http://www.samplaire.com/images/planetz/lo2.jpg!
    In the menu you just have to tick the highlighted square:
    image:!http://www.samplaire.com/images/planetz/lo3.jpg!
    Message was edited by: samplaire
    Message was edited by: samplaire
    Message was edited by: samplaire
    null
    Message was edited by: samplaire
    Thanks samplaire, I'm trying to figure out which plugins are delay causing plugins but I will mess around with the low latency mode. When should this mode not be on?

  • Delay after Windows XP loads

    Ok guys I fell alittle better about this board now (although I have 12 days left on my RMA #).  I have the MSI 875P Neo-FIS2R with a Seagate 120GB 8MB cache SATA Hard dive installed on the South Bridge.  When Windows XP Professional is finished loading and I am at the desktop I am unable to access my DSL connection to the internet, I click on the icon to connect and I have about a minute and a half wait before it connects.  I am also unable to access the device manager or the monitor refresh rates.  Now if I wait the minute and a half the hard drive will run for a few seconds and then I am able to click on the DSL connection and it almost instantly connects.  Same with device manager and the refresh rates.  I am sure there are other items with delay as well.  Now I do not have this problem start until I update to service pack one (I have reinstalled windows so many time due to my video card troubles) Any suggestions as to what is actually causing the delay?

    Hi to all,
    Ok, delays caused are very general... there are a few reasons to this, so I post them here and try out to see if that solved your delaying probs...
    1. Too many background running programs during bootup.
    2. Anti-Virus doing screenscan during startup.
    3. Settings of P-ATA and S-ATA in BIOS disabled.
    4. Cached shadow enabled.
    5. Low PSU wattage for +3V,+5V rails, if possible +12V.
    6. CPU usuage high due to system tray programs during startup.
    For AGP card not showing 8x:
    1. Try setting AGP Capabilities to "Auto".
    2. Set AGP Aperture to 128MB or 256MB.
    3. Update to latest drivers(do clean un-installation 1st).
    4. Disable SBA(SideBand Addressing).
    Hope my info and directions helps...
    All the Best... :D!!!

Maybe you are looking for

  • Recording from Hero open meeting

    Deepas blog mentions that recording should be available but is nowhere to be found, any ideas if its supposed to be available or should we just wait and be patient?

  • How to create a component with a horizontal iteration?

    Hello! I need a component that can show an ArrayList or an Object[] array in horizontal direction. For example, DataTable is perfect for vertical direction: I create one column and then show the items frome some ArrayList in table's rows, the number

  • Database query ResultSet from servlet to JSP page

              Hi there,           I have an Access 2000 database. I am running Apache and Tomcat on Windows Me.           I would like to know if it is possible for me to use a Servlet to search the           database (I know this bit is possible!), but

  • Save As file locations.

    Hello, I'm using CS5 on a Windows XP system and when I go to File | Save As sometimes InDesign will bring up the folder I opened the file in or the My Documents folder (which I don't use). Preferably, I'd like Save As to open the folder where I opene

  • GUI STATUS MISSING

    Hello All, When i execute cs03 tcode its showing error 'gui status maa0 missing in prog' now i knw pfstatus for the given prog is not set. when i open this prog there are some 1000 lines of code and include in tht, now how to find the pfstatus in tht