Stream Performance

Hi,
We are working on Oracle 9i bi-directional Stream replication between two remote databases. We have following system configuration :
MS Windows 2K OS
Pentium IV Processor with 1.7 GHz
1 GB RAM
We have more than 100 tables for replication purpose. In stream set up, we have two different queues, one for capture and another for apply. It was working fine earlier. As sson as we restarted both the db srvrs, Oracle.exe thread staretd taking almot 95-99% of CPU, and we tried to recover from this, we could not. and after some time, both the systems stopped functioning.
What might be the possible reason for this ?
Thanx, & regards,
Kamlesh

Here are a couple of performance tips:
1) Make sure that you have installed either the 9.2.0.2 or 9.2.0.3 patchset. 9.2.0.2 is a required patch for databases participating in Oracle Streams. The 9.2.0.3 patchset includes the 9.2.0.2 patches and is a recommended patchset for Oracle Streams databases.
2) Increase the shared_pool size .
Each capture process requires 10Mb of shared pool. If the parallelism parameter of capture is greater than 2, then the memory required is 10Mb * parallelism
In addition to the memory required for the capture process, there is an in-memory buffer queue which holds all of the logical change records(LCRs) for streams requires memory from the shared pool. The buffer queue memory requirement for a database is limited to 10% of the memory allocated with the shared_pool_size init.ora parameter. Therefore, with a 200Mb shared_pool_size, up to 20Mb is available for the use of the in-memory buffer queue(s).
When the buffer queue memory threshold is exceeded, LCRs will spill-over to disk and continue to spill to disk until all of the transactions have been consumed by all down-stream sites. When this spill-over occurs, streams performance is impacted.
3) Relocate the Streams data dictionary tables away from the SYSTEM tablespace.
4) For bi-directional replication, configure two (2) queues to minimize spill-over from buffer queue to disk.
5) Make sure that rules are simple To make a quick determination if an event (LCR) is "interesting", fast rule evaluation preprocessing can be used on rules with object_owner, object_name, source_database_name specified in simple equality statements. Avoid 'LIKE' and 'NOT' operators in rules as fast rule evaluation preprocessing cannot be utilized.
6) Make sure that the init.ora parameter aq_tm_processes is set to a non-null value. This is the parameter that enables the purging of the queue. If the queue is never purged, the in-memory buffer will, sooner or later, spill over to disk.

Similar Messages

  • PXIe 8262 streaming performance with HDD 8264 on a PXIe 1062Q chassis

    Hello,
    I have a PXIe 1062Q chassis, running Win XP, with one 8262 connected to an HD8264 and two PXIe 6537 installed, all the three board being on the express slots (3, 4 and 5). Running the benchmark application for testing the streaming speed (Win32FileIO) I get something like 100 MB/s with data chunks of about 4 MB, and around 140 MB/s with chunk of 64 M. How can improve these results toward the theoretical limit off 600 MB/s? Is there any software/driver trick to be applied?
    And, in case, which is the best way to exploit the 8262 from C++ written code (using the NI libraries)? Is there anything similar to the Win32FileIO library? I tried using the RAID system from a c++ test program, and the performance seems very poor, while I would need, if not the 600 MB/s rate, at least something around 200 MB/s of continuous streaming.
    Thanks in advance,
    Piero.
    Solved!
    Go to Solution.

    Hi Neil,
    I actually have a 8130 controller, and in fact that was not the problem: I found the problem being the file-caching performed by Windows file system. If you use standard fstream calls from C source code you cannot bypass it, but by using Windows native call (CreateFile(...), WriteFile(...) APIs) and setting the flag for no data caching or buffering inside the call, I managed to get the full bandwith of 600 MBytes/s.
    Anyway thanks for the quick reply!
    Piero
    I'm guessing you have a controller that only
    supports x1 PCI Express.  The PXIe-8130 is our highest-bandwidth
    controller, with four x4 links going to the chassis.  In the case of
    the 1062, each of slots 3, 4 and 5 get a dedicated link from the
    controller.  x1 links max out at about 200 MB/s and x4 links max out at
    800 MB/s.
    So your first step is to use an embedded
    controller or use MXI Express x4 instead of x1 back to a host
    computer.  While the PXIe-8130 is the best for high-bandwidth data
    transfers, the PXIe-8106 should also be sufficient for your needs.
    If
    you want to stream data to disk from a PXIe-6537, it is already built
    into DAQmx.  You simply specify a file name, and the data goes to
    disk.  If you want to stream *from* disk, you'll have to do that on
    your own.  Here is a C/CVI example for streaming digitizers to disk
    using a C API and the Windows File I/O functions.
    Neil
    Principal Engineer
    National Instruments

  • Apple TV Streaming Performance Seriously Degraded

    I wish Apple would acknowledge there was a problem.  In the past two weeks or so the performance of the Apple servers streaming TV shows has seriously degraded.  There have been no changes in my set up and speed tests show 20-30 Mbps download speed and at least half of that up.  On the same Apple TV box Netlfix streaming, Hulu Plus streaming is working fine.  My Oppo BD player on the same network has absolutely no issues streaming Vudu films, nor Netflix.  Lastly my Directv downloading HD movies works just fine.  All this points to the fact that Apple's servers are having serious issues.  One can easily Google this issue and see that many people around the U.S. are having this issue but Apple refuses to admit to the issue.  I guess because it admits liability and shows their massive investment in their data farms appears to be failing.  I just want it to work.  Please Apple just take responsibility and fix the damned problem and quit ignoring it.

    Hi Pan_Kun,
    Welcome to the Support Communities!  The articles below will provide some basic troubleshooting steps for streaming or playback issues with the Apple TV.  Click on the links for full details.  I've included some highlights below for you:
    Apple TV: Troubleshooting third-party content providers - Apple Support
    If you have playback issues with a content provider's services
    In most cases, you can isolate playback issues to your home network, your broadband connection, or a possible outage with a content provider. To see if your issue is affecting multiple services or a specific content provider, try another service. For example, play a movie trailer from the main menu.
    If the issue is affecting multiple services on your Apple TV, see how to troubleshoot playback performance.
    If the issue is affecting a single content provider on your Apple TV, restart your Apple TV by going to Settings > General > Restart. 
    Apple TV (2nd and 3rd generation): Troubleshooting playback performance - Apple Support
    Update your Apple TV software
    It's always a good idea to update your software. Software updates can include feature changes and fixes that might enhance your viewing experience.
    If you still experience slow playback when you view movies and TV shows, connect your Apple TV to your local network via a wired (Ethernet) connection. If the performance improves noticeably, then consider updating or troubleshooting your Wi-Fi base station or router.
    I hope this information helps ....
    - Judy

  • AppleTV 2G - horrible streaming performance!

    I currently have 3 of the original AppleTVs and have never had any issues streaming movie and TV shows from my iTunes library on my MacPro to these devices. Yesterday I replaced all of them with the new 2G ATV and now streaming content from my MacPro is unwatchable. Just trying to stream a TV show took about 5 minutes for the program to start, then after playing 3 or 4 minutes, the show would stop and start buffering again, but then i couldn't get it to resume playing.
    I am so disappointed with these devices! Is anyone else having issues like this? Content streaming from NetFlix is fine. I am thinking it has something to do with the change to the Apple Home Sharing interface instead of whatever protocol the 1G units were using to connect to the iTunes library.
    Ryan

    Ryan Nowlin wrote:
    Tim - I have been streaming with AppleTV 1st gen via 802.11g through my Airport Extreme base station for 3 years and performance has NEVER been an issue. After connecting my new 2nd gen AppleTV to iTunes via Home Sharing, it is unusable. I also tried connecting the ATV directly into the base station via Ethernet and the performance was no better, so the issue is not network bandwidth. Something has changed with how they are doing the streaming -- my guess is that it's the Home Sharing streaming protocol vs. however it used to be done directly through iTunes.
    My understanding is that home-sharing is really just a difference in how the Apple TV (or any other computer with iTunes) finds the computers and establishes that it's ok to share content. Previously, it couldn't be assumed that another computer with iTunes sharing enabled was owned by the same owner. You needed a password to connect to the share, and even then, that just gave you the right to 'stream' but not copy. Home-sharing establishes that the content is owned by the same iTunes account holder... thus you can select from any home-share source and not just stream... but copy or sync as well (although the new Apple TV doesn't have enough local storage to copy & sync so it uses it's storage as a filesystem cache for streamed content.) Apart from how it establishes the 'right' to stream, I thought the streaming protocol was the same. (BTW, I do not know this for certain.)
    Operating on the assumption that nothing is broken (yeah, I know... but we have to start somewhere.) My first 'guess' would be network (but it sounds like you've isolated that by comparing to the 1st Gen Apple TV) and my second 'guess' is that the source computer is too busy to stream. For example... I have a Mac Mini with a 2TB external firewire disk connected. My purchased iTunes content lives there. I recently purchased a season pass for a show and decided to start watching an episode. It was horrible. I discovered that (a) the Mac Mini was downloading everything it could from Apple. All the while, as soon as a new episode finished loading, it would 'sync' the show to a 1st Gen Apple TV upstairs (which wasn't in use... but it still syncs to it periodically as new content shows up.) Meanwhile, Time Machine decided to start a backup and since the files are huge, well... you can see where this is going. Basically I'm downloading these 2GB files while syncing a 2GB file to an Apple TV while backing up a 2GB file to a NAS device on the network (e.g. Time Capsule) WHILE trying to play and watch the episode. It's no surprise performance was poor. The home network was completely saturated and the disk on the Mac Mini wasn't keeping up.
    There's quite a number of people complaining of the issue here -- so it's entirely possible that this is just a bug that manifests under certain circumstances and nobody has managed to pin down what causes it. Not everyone is having the issue and I've yet to read a review where the reviewers ran into this problem. That leaves us with (a) some Apple TVs are defective, (b) all Apple TVs are the same but there's a bug that manifests itself only under certain conditions or (c) there is no bug but some people are experiencing predictable performance problems due to load on their network or load & performance on their host computer.
    In the meantime... I'd suggest trying to isolate the issue by carefully scrutinizing your iTunes server. Check to see if you've got backups or anything else happening while you are also trying to stream to Apple TV. Do you still get the issue when backups are disabled and you aren't downloading any new content from Apple to the iTunes client while the iTunes client is trying to stream to the Apple TV?
    You might also open the 'Console' utility on the Mac and watch the "All Messages" aggregated list to see if iTunes is complaining of anything while you stream. Warning: If you're not familiar with the 'Console' utility, don't be alarmed when you see lots of messages related to various things... no your Mac is NOT about to explode. It logs every little thing and most of the messages in the logs are harmless. It cleans it's own logs from time to time so you shouldn't try to 'manage' anything... look but don't touch.

  • BCS Load Data Stream Performance

    Data Stream upload performance is not good. It takes about 50 minutes to upload the BCS cube. 0FIGL_O02 is the source data base.
    Have you had similar problems?  Do you have any benchmark data on # of records per hour?
    Thanks
    Tim

    Tim,
    This issue can be controlled by restricting the characteristic values. For expample consolidation units, GL account etc.
    Thanks
    RJ

  • Video Streaming Performance : 802.11G vs. 802.11N

    Setup: 1TB m4v's - Mac Pro - Airport Express G - ATV2
    I'm trying to stream m4v video from my Mac Pro to ATV2, and although it works, loading video sometimes takes a while. All m4v's are between 800MB - 2GB. The Mac Pro & ATV2 are both N-ready, but my Express is G.
    My question: Would getting either a Express/Extreme N deliver a real-world advantage with regard to local video streaming?

    My current setup includes an Airport Express G. So wireless. I don't have a problem, everything works just fine.
    The speed of both G/N is clear: 54mbps/108mbps.
    The ATV2 question is: Does anyone have any real-world local video streaming experience with both G/N, and if so: *is there a real-world loading time advantage when using N over G?*

  • Performance tuning and Periodic Maintance in Oracle Streaming Environment

    We had Setup the Bi-Directional Oracle Streaming between two remote Sites each of 2-Node RAC Databases
    This is Our Enviroment Summary.
    Database Oracle 10g R2 version 10.2.0.4.0
    Os: Solaris[tm] OE (64-bit)
    Currenly Oracle Streaming working Successfully and I'm Daily Monitor the Same.
    As Mention in the Master Note for Streams Performance Recommendations [ID 335516.1]
    Purging Streams Checkpoints
    10.2: Alter the capture parameter CHECKPOINT_RETENTION_TIME from the default retention of 60 days to a realistic value for your database.
    A typical setting might be to retain 7 days worth of checkpoint metadata :
    exec dbms_capture_adm.alter_capture(capture_name=>'your_capture', checkpoint_retention_time=> 7);
    My Query
    ===> Currenly In My Environment CHECKPOINT_RETENTION_TIME is as default 60 days
    I want to change the checkpoint_retention_time=> 7 so what should I take care for before execute the above command in my Live Streaming Environment.
    Edited by: user8171787 on Apr 13, 2011 11:00 PM

    We had Setup the Bi-Directional Oracle Streaming between two remote Sites each of 2-Node RAC Databases
    This is Our Enviroment Summary.
    Database Oracle 10g R2 version 10.2.0.4.0
    Os: Solaris[tm] OE (64-bit)
    Currenly Oracle Streaming working Successfully and I'm Daily Monitor the Same.
    As Mention in the Master Note for Streams Performance Recommendations [ID 335516.1]
    Purging Streams Checkpoints
    10.2: Alter the capture parameter CHECKPOINT_RETENTION_TIME from the default retention of 60 days to a realistic value for your database.
    A typical setting might be to retain 7 days worth of checkpoint metadata :
    exec dbms_capture_adm.alter_capture(capture_name=>'your_capture', checkpoint_retention_time=> 7);
    My Query
    ===> Currenly In My Environment CHECKPOINT_RETENTION_TIME is as default 60 days
    I want to change the checkpoint_retention_time=> 7 so what should I take care for before execute the above command in my Live Streaming Environment.
    Edited by: user8171787 on Apr 13, 2011 11:00 PM

  • WUMC710 - Fails to stream properly and overall poor performance.

    I am an IT professional, dealing with wired and wireless devices from cisco and non cisco, for several years now.
    I now have a EA3500, which is the 3rd linksys router i own (after wrt54gl, then wrt160nl)
    I bought a 5 Ghz wireless bridge WUMC710 two weeks ago. The main purpose is to stream video.
    I have tested the location where the bridge is located (5m from the router, no walls) with my laptop, being able to copy an 4GB file at a steady 9 MB/s (real data documented with print screens)
    After connecting the laptop to the bridge, and disabling internal wifi, the same file, downloaded at 6MB/s speeds (also documented).
    The matter got worst when I tried to stream video. Every stream that I tried, the video stoped every 5 minutes, wireless active, devices active, but no streaming. After a while (15-30 seconds), streaming resumed where it stopped. After another 5 minutes, another halt, and so on.
    If the video in HD, the halt period shortned to 2 minutes.
    Supose bad memory management. Tried Chat and Phone support, but no solution found.
    Can someone help?
    Thanks in advance.
    RM

    Hi
    @phillippeannet, @imncloudnine: tkx for reply.
    Update:2013/07/10
    HW/SW infrastructure considerations:
    On the Router EA3500:
    Switched over to Classic FW, stability issues
    To enable 5GHz, 40 MHz bandwidth, QoS must be enabled, with the WMM option. Don't ask me why
    Also, support chat was very nice, but also, very limited. Only effective achieved milestone was a complete router reset and reconfiguration from my part .
    On the Bridge WUMC710:
    Firmware update to latest patch (1.0.01b18).
    QoS enabling with WMM option.
    Brigde running on 60% signal strength, theorical speed of 405 Mbps
    Previous FW problems:
    Poor streaming performance from Blueray to Youtube (yes, youtube). Almost anything streamed over this medium had 2-5 minutes of streaming, followed by 30seg-1min lag, and then restarted the hole process. Very frustrating.
    Also, SW freeze when device connected for long periods (1 week), which forced me to reboot previous to usage. Very very frustrating...
    Latest FW, yesterday testings:
    Only tested blueray, but seems promissing, much much less lag, but still present.
    Future tests:
    Blueray with no network clients other than media player, on 5GHz network
    Check for SW freezes
    Final considerations.
    Wired switches and routers work much better and are much cheaper. Also, they do exaclty what is said on the box, out of the box, not a couple of months, and a bunch of work hours later.
    Thank you Linksys for reminding me that.
    Regards,
    RM

  • Very poor implementation of XMLHttpRequest streaming with Safari for Window

    I hope this post reaches Apple engineers. This is critical for us to resolve this. I am a member of the developer network, so if using incident support is necessary, it can be used. Do not hesitate to contact me with any questions. I have implemented a test to compare XMLHttpRequest streaming performance for different browsers. Safari for Windows 5.0.3 had the worst results compared to Chrome and Firefox. Furthermore, I think this problem was introduced after Safari 3. The test consists of a server pushing messages of about 350 bytes to the browser at a rate of about 300/s. Once server pushes 10,000 messages, it closes the connection and browser opens new one repeating the cycle. There were several problems associated with Safari: 1) Safari could not process much more then 300 messages/s, that is quite low. Chrome had no problem processing 1,000. If, for example, 500 m/s was used, Safari would quickly allocate hundreds of meg of memory and crash. 2) Safari starts with about 64MEG of memory allocated. Once the test page is opened, memory quickly climes to 150MEG and as test progresses to >400MEG. Once the connection closes, it drops to 150MEG again. Chrome's memory did not fluctuate at all staying at 32MEG for the same test. 3) CPU was steadily claiming as test progressed and then dropped as connection was reset, creating CPU spikes. It reached about 50% CPU before connection was closed. Chrome's CPU stayed at about 2% all the time. This is the code: Server. Should be run with the latest Java Tomcat 7. Configure Tomcat to use Http11NioProtocol: package test; import java.io.IOException; import java.io.PrintWriter; import java.text.SimpleDateFormat; import java.util.Date; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.catalina.comet.CometEvent; import org.apache.catalina.comet.CometProcessor; @SuppressWarnings("serial") public class WebFrameworkServletXHRReconnects extends HttpServlet implements CometProcessor { @Override public void event(CometEvent event) throws IOException, ServletException { HttpServletRequest request = event.getHttpServletRequest(); HttpServletResponse response = event.getHttpServletResponse(); if (event.getEventType() == CometEvent.EventType.BEGIN) { System.out.println("Begin for session: " + request.getSession(true).getId() + " " + response.getWriter()); response.setHeader("pragma", "no-cache,no-store"); response.setHeader("cache-control", "no-cache,no-store,max-age=0,max-stale=0"); event.setTimeout(Integer.MAX_VALUE); PrintWriter out = response.getWriter(); SimpleDateFormat formatter = new SimpleDateFormat("mm:ss: "); for (int i = 0; i < 10000; i++) { out.print("{\"messageType\":8448,\"requestId\":"0",\"eventType\":1,\"symbolId\" :[\"BAC.EA\",0],\"fields\":[{\"header\":"0",\"type\":6,\"data\":[3993,2]},{\"hea der\":"55",\"type\":6,\"data\":[1185,2]},{\"header\":54,\"type\":6,\"data\":[321 8,2]},{\"header\":"5",\"type\":6,\"data\":[6617,2]},{\"header\":52,\"type\":4,\" data\":[15]},{\"header\":"12",\"type\":6,\"data\":[1700,2]}]}"); out.flush(); if (i % 10 == 0) { try { //Thread.sleep(60); Thread.sleep(30); } catch (InterruptedException e) { } } if (i % 100 == 0) { System.out.println(formatter.format(new Date()) + i); } } out.close(); event.close(); } else if (event.getEventType() == CometEvent.EventType.ERROR) { event.close(); } else if (event.getEventType() == CometEvent.EventType.END) { event.close(); } } } client: <script type="text/javascript" src="log4js.js">
    </script>
    <script type="text/javascript">
    var api;
    var log = new Log(Log.DEBUG, Log.popupLogger);
    var byteoffset;
    var perocessedMessages;
    function connect() {
    perocessedMessages = 0;
    byteoffset = 0;
    id = 0;
    api = new XMLHttpRequest;
    api.onreadystatechange = onreadystatechange;
    api.onerror = onerror;
    log.debug('connect');
    api.open("GET", "http://localhost/Test/Controller", true);
    api.send("");
    function onreadystatechange() {
    switch (api.readyState) {
    case 3:
    change();
    break;
    case 4:
    disconnect();
    break;
    function change() {
    connected = true;
    var buffer = api.responseText;
    var newdata = buffer.substring(byteoffset);
    byteoffset = buffer.length;
    while (1) {
    var x = newdata.indexOf("<activ>");
    if (x != -1) {
    y = newdata.indexOf("</activ>", x);
    if (y != -1) {
    processMessage(newdata.substring((x + 7), y));
    newdata = newdata.substring(y + 8);
    else {
    break;
    else {
    break;
    byteoffset = buffer.length - newdata.length;
    function processMessage(msg) {
    var objJson = eval('(' + msg + ')');
    perocessedMessages++;
    //if (perocessedMessages % 100 == 0) {
    // log.debug('' + perocessedMessages);
    function disconnect() {
    log.debug('disconnect');
    connect();
    function onerror() {
    log.debug('onerror');
    </script>

    I hope this post reaches Apple engineers. This is critical for us to resolve this. I am a member of the developer network, so if using incident support is necessary, it can be used.
    We're a user-to-user forum, ilyag. So it'd be better for you to use the Apple Bug Reporter if you want to ensure someone from Apple sees your post:
    http://developer.apple.com/bugreporter/

  • App-V 5 Full Infrastructure Apps take long time to stream to the client

    Hi was wondering if anyone has the same issue as i am or knows a fix for this, below is my problem and the troubleshooting i have done.
    Overview of problem
    App-V 5 apps delivered via App-V 5 full infrastructure take a long time to stream to the client and this means the user has to wait if they try and run an application before it has streamed to the client. Users sometimes have to
    wait 2 or 3 minutes for an application to stream and this is about 40 times slower than basic SMB and HTTP transfer tests show the system is capable of (see performance results below).
    App-V 4.6 apps delivered via App-V 4.6 full infrastructure and HTTP streaming are fine.
    Overview of environment
    App-V 5.0 SP1 Full Infrastructure.
    App-V servers are running Server 2012 on Hyper-V 3 or ESX 5.1 with 2 x vCPU and 4GB RAM.
    SQL servers are a SQL 2012 cluster.
    Separate servers for SQL, management, publishing, content and reporting.
    Management, Publishing and Content servers have two servers per role and NLB to provide load balancing. So 7 servers (2 x Man, 2 x Pub, 2 x Content, 1 x Reporting)
    Two further sites with 2 x Pub and 2 x Content each. All publishing servers pointed at the load balance address for management.
    Content delivered via HTTP
    Clients are physical desktops and laptops running Windows 7 SP1 x86 and Windows 8 x86
    App-V client is 5.0SP1
    Clients are pointed at their nearest publishing server NLB via a script which looks up the client IP address and uses PowerShell to configure the publishing server
    Content is streamed from the nearest content server NLB by setting the PackageSourceRoot to the nearest content NLB (via the same PowerShell script above).
    App-V apps delivered per-user via AD group. One AD group per application. Approximately 200 App-V apps published so far - will eventually reach 400 as we sequence more. About 9000 users.
    Analysis performed so far
    Servers not heavily loaded. CPU averages 5%. Lots of RAM free. Very low disk IO. Problem also occurs out-of-hours so we are 99.9% certain that server resources are not a cause.
    Streaming performance is the same from all 6 content servers and all 3 NLB addresses (tested by changing the value of PackageSourceRoot). Wireshark used to confirm packages are really streaming from the correct location, enforcing
    our belief that the problem isn't at the server end (unless all 6 servers are affected).
    Streaming via both HTTP and SMB2.1 is approximately the same (tested by changing the value of PackageSourceRoot between http://xxxx and \\server\AppVContent).
    Wireshark used to confirm we really are using the protocol we think we are using.
    All clients exhibit the same behaviour. Issue reported by many users. 5 test PCs chosen at random at all 3 sites confirmed to have the slow streaming problem.
    Slow streaming from both Hyper-V and VMware ESX servers.
    Client not heavily loaded.
    Affects all App-V apps although it obviously affects the larger ones more.
    All App-V apps have a Feature Block 1 setup.
    If we copy the ".appv" file from the server to the client via either HTTP or SMB then it's reasonably quick (up to 480Mb/s). So we don't believe the network or servers are at fault. For example:
    We can copy a 149MB .appv file via SMB from the content server to the client in 5 seconds.
    We copy HTTP download the .appv file from the content server using IE on the client in 5 seconds.
    But if you ask the App-V 5 client to fully download the sequence then it takes 2 - 3 minutes.
    The App-V 4.6 client takes about 8 - 10 seconds to fully download a similar sized application.
    App-V 5 publishing works fine - when a new user logs on they get their list of application straight away, it's just the streaming which is slow.
    Once the App-V app has streamed locally it runs fine and with a decent performance.
    Looking at a Wireshark trace of the streaming you can see that the slow performance is due to the transfer stopping and starting a lot. You only notice this when you zoom into the performance graph a fair bit.
    Each time the HTTP server stops sending traffic, it doesn't start again until the client sends a "TCP Window update". Each "stop" is of a different length, but just taking a few from the middle I get 0.06s, 0.11s,
    0.13s wasted etc.
    I can see that it's the client stopping the transfer by reducing its advertised TCP Window Size. I'll provide an example:
    Server sends 9 x 1514 bytes. Client responds with an ACK and a Window size of 54016 bytes (256x211)
    Server sends 11 x 1514 bytes. Client responds with an ACK and a Window size of 37888 bytes (256x148)
    Server sends 10 x 1514 bytes. Client responds with an ACK and a Window size of 23296 bytes (256x91)
    Server sends 15 x 1514 bytes. Client responds with an ACK and a Window size of 1280 bytes (5 x 256)
    Server stops sending (I'm guessing because the client advertised Window size was less than a single packet's worth of bytes)
    <0.1 seconds passes>
    Client sends a "TCP Window Update" re-advertising a TCP window size of 65536 (256x256).
    Server starts transmitting again
    So the way I see this is that the App-V 5 client is controlling the transfer speed by utilising TCP Window flow control. The trace was taken at the client end so there's no room for anything on the network to be fiddling with flow
    control (and we've confirmed there are no traffic shapers in the loop).
    We've also tried streaming directly from the local client by copying some App-V 5 apps down to the client, creating a SMB share on the client and changing PackageSourceRoot to \\localhost\AppVContent (i.e. so we are streaming directly
    from the client to the client - to remove the network from the equation) and there is only an improvement of 5 to 10 seconds. So we know it's nothing to do with the network or the servers.
    We've tried turning off TCP auto-tuning on the client with:
    netsh interface tcp set global autotuninglevel=disabled
    and turning off TCP chimney offloading (which is off anyway because the NIC doesn't support it and Netstat -t output shows "InHost" for offload state for all connections) with:
    netsh int tcp set global chimney=disabled
    and nothing has improved.
    So we've now focussed on the extraction of the .appv (ZIP) file on the client.
    Using Windows Explorer it takes 75 seconds to extract the ZIP file
    Using 7ZIP it takes 9 seconds to extract the ZIP file
    Yeah we've always known that the Explorer ZIP engine is terrible. That's why we use 7ZIP or WinRAR on our clients.
    So we've started to wonder if the problem with the slow App-V 5 streaming is because the client is downloading the .appv file and extracting it as it goes along in a single thread. If the App-V 5 client is using the same terrible
    ZIP engine that Explorer does then that would explain the slow performance. The "download" appears to take a long time because the client is using TCP flow control to slow the transfer since it's extracting the .appv file using a very slow ZIP engine
    and it's all in a single thread.

    Guys,
    Just wanted to give you a brief update basically close this thread as Answered.
    We had submitted 4 App-V 5 Bugs to Microsoft and these were reproducible and an explanation was given on work around to them. Microsoft
    sent down a App-v developer to have a look at our problems. They said they will try and include the Bug fixes in SP2 which should be out in a few weeks or they will definitely be included in SP3.
    In regards to the slow streaming it all came down to the Disk IO.
    We found that you could simply enable "Turn off
    Windows write-cache buffer flushing on the device", then start streaming the app and then disable "Turn
    off Windows write-cache buffer flushing on the device" immediately after
    (we don't want to leave it on) and that basically fixed the issue.
    But a normal user would not have permissions to do
    this, so a code was written to enable and disable this option.
    Apology for not going in detail, like my opening thread, its very late. 
    but if you would like a detailed analysis please message me.
    I would like to Thank the Talented Consultant who designed and implemented are App-V infrastructure who found the bugs and created all
    the work around and who also emailed the detailed analysis of the problems to Microsoft that got them interested.
    Simon Bond from Ultima Business Solutions.
    Thank you

  • Disappointed with TCs wireless performance--help!

    I have a 1TB Time Capsule which I believe has the same wireless part as the Airport Extreme and my wireless performance and range is surprisingly terrible. Is the Airport Extreme known to have a better wireless characteristic than the Time Capsule? Do you prefer it over the TC?
    -When I use "N" only. I cannot connect just two rooms away with my MBP and my iPhone cannot use the signal...
    -When I use the N (with B & G compatibility), the range is extended and I can use it in my other bedroom but videos streaming to my Apple TV (full DVD rips or EyeTV recordings) do not play reliably...
    Also, I can only connect 3 ethernet devices to my TC... I would like to expand this. Should I use a different router and ethernet switch on the front line and use the TC for NAS an WAP (Wireless Access Point) only? What's your topology and what router do you recommend? I need about 5 ports.... also, if I'm using the TC or Airport as a WAP can I use the switch on that box in addition to the ones on the router?
    Thanks,
    Robert

    The best wireless bandwidth performance available would be to operate the wireless in the 802.11n only (5 GHz) mode with both wide-channels enabled and with the radio channel set in the higher range (channels 149 -165 in the US).
    I assume that you don't have the latest simultaneous dual-band version of the TC so in order to maintain that bandwidth, you would need a second AirPort, like an earlier 802.11g Extreme or Express to create a second wireless network for your non-"n" clients.
    As you are already aware, the 5 GHz radio does not penetrate through walls as well as the lower frequency 2.4 GHz band nor has the distance.
    The bottom line, for best HD (especially 1080p) streaming performance, you would need Gigabit Ethernet.

  • Improving multiple streams, Apple TV streaming?

    Anyone have a time capsule and experience a lot of stuttering with streaming files to appletv? I replaced my time capsule with my dlink router and this works much better, one stutter compared to 20 with the time capsule in a given time (this is with a wired connection). I like my time capsule too, does anyone know of a fix or how to improve QOL (multiple streams etc)?
    Thanks
    Mo

    Since the Apple TV is not equipped with Gigabit-Ethernet ports you can expect the best streaming performance if you have both the Time Capsule (TC) and Apple TV running in the "802.11n only (5 GHz)" radio mode. Next best would be to have them connected via 100 Mb Ethernet. Anything less than these would challenge anything above SD video.

  • Apple tv streaming stutter

    Just wondering if anyone has had a problem with there apple TV streaming performance after updating to Yosemite from Maverick.  Now have a audio visual stutter problem when streaming to the apple tv from my iMac.
    Cheers

    Hi Pan_Kun,
    Welcome to the Support Communities!  The articles below will provide some basic troubleshooting steps for streaming or playback issues with the Apple TV.  Click on the links for full details.  I've included some highlights below for you:
    Apple TV: Troubleshooting third-party content providers - Apple Support
    If you have playback issues with a content provider's services
    In most cases, you can isolate playback issues to your home network, your broadband connection, or a possible outage with a content provider. To see if your issue is affecting multiple services or a specific content provider, try another service. For example, play a movie trailer from the main menu.
    If the issue is affecting multiple services on your Apple TV, see how to troubleshoot playback performance.
    If the issue is affecting a single content provider on your Apple TV, restart your Apple TV by going to Settings > General > Restart. 
    Apple TV (2nd and 3rd generation): Troubleshooting playback performance - Apple Support
    Update your Apple TV software
    It's always a good idea to update your software. Software updates can include feature changes and fixes that might enhance your viewing experience.
    If you still experience slow playback when you view movies and TV shows, connect your Apple TV to your local network via a wired (Ethernet) connection. If the performance improves noticeably, then consider updating or troubleshooting your Wi-Fi base station or router.
    I hope this information helps ....
    - Judy

  • Airport Extreme streaming iTunes without Internet

    Hello. 
    I no longer have Internet access in my home. I do still have a MacBook Pro streaming 2TB of iTunes media through an AirPort Extreme to two AppleTV's, and 5 iPhones. Music, movies, and TV shows are slow to load since the loss of the introwebs. 
    I have read about switching to "Bridge Mode" in airport utility but am not sure what this would do other than possibly allow my iPhones to simultaneously connect to my network and have 3G access. 
    Any ideas on how to speed up the streaming of content?
    Your sage advice is greatly appreciated. 

    I no longer have Internet access in my home. I do still have a MacBook Pro streaming 2TB of iTunes media through an AirPort Extreme to two AppleTV's, and 5 iPhones. Music, movies, and TV shows are slow to load since the loss of the introwebs.
    Just so I understand correctly, are you saying since you no longer have Internet access, the overall streaming performance on your local wireless network has decreased? If so, Internet streaming and local network streaming are not directly related and, whether or not, you have Internet access should not matter.
    Without Internet access, the 802.11n AirPort Extreme Base Station (AEBSn) would not get a Public IP address, but it would have a Private IP address of 10.0.1.1 ... and it would still be providing wireless clients connected to it with Private IP addresses in the 10.0.1.2 - 10.0.1.200 range.
    Please compare your AEBSn's settings with the following to see if making any of the changes will help with your local network streaming performance:
    AirPort Utility > Select the AEBSn > Manual Setup > AirPort > Wireless
    Wireless Mode: Create a wireless network
    Wireless Network Name: <enter a desired Network Name or SSID>
    Radio Mode: <unless you have non-"n" clients that you need your network to support, I would suggest setting this to "802.11n only (5 GHz) - 802.11n only (2.4 GHz)>
    Channel: Automatic
    Wireless Security: WPA2 Personal
    Internet > Internet Connection
    Connect Using: Ethernet
    Connection Sharing: Distribute a range of IP addresses
    Internet > TCP/IP
    Configure IPv4: Manually
    IP Address: 10.0.1.1
    Subnet Mask: 255.255.255.0
    Router Address: 10.0.1.1
    DNS Server(s): <leave blank>
    Domain Name: <leave blank>
    Internet > DHCP
    DHCP Beginning Address: <leave default or change to a desired starting address>
    DHCP Ending Address: <leave default or change to a desired ending address>
    Advanced > Logging & Statistics
    Allow SNMP (unchecked)
    Your AEBSn will still report at least three errors: 1) Configuration of WAN, 2) SNMP over WAN, and 3) Double NAT. These can all be safely ignored (by disabling them in the AirPort Utility) to stop the AEBSn's status light from flashing amber in this configuration.

  • Pivoting records for reporting using streams

    Hi
    I would like to use streams for pivoting a records.
    I have a table called employees
    Dept Name
    10 Larry
    10 Ray
    10 Philips
    20 Winston
    20 Gayle
    Whenever records are inserted or updated or deleted in the employee table .
    i would to like to pivot the records and populate a employee_report table.
    Dept Name(clob feild)
    10 Larry,Ray,Philips
    20 Winston,Gayle
    Pivoting can be done in using straight sql and ETL tools but we want to explore if this can be done using
    streams and my version of Oracle is 10.2.0.4 and but open to upgrade to higher versions.
    regards

    How are you going to pivot it? The result of the COUNT will be 1. What operation will Streams perform at the target database?
    Will it subtract from one count and add to another?
    How?yes, it will.
    I don't tell that is the best solution, but at least it works and easy to implement. And ones again - everything depends on requirements.
    that's your source table as I understand:
    PRO LINE_NUMBER CUST ORDER_DATE           DELIVERED_DATE
    747         733 NWO  02-OCT-2011 13:56:16 12-JAN-2014 13:56:16and after update:
    PRO LINE_NUMBER CUST ORDER_DATE           DELIVERED_DATE
    737         733 NWO  02-OCT-2011 13:56:16 12-JAN-2014 13:56:16and that is the target structure - let's say airplanes_report table:
    before update:
    PROGRAM_ID AAL DAL NWO ILC
    747        0   0   1   0after update:
    PROGRAM_ID AAL DAL NWO ILC
    737        0   0   1   0
    747        0   0   0   0so, the dml handler would do (by UPDATE on airplanes):
    1. take from LCR "old" and "new" program_id value.
    2. take "old" (or "new" - doesn't matter) customer_id (NWO in this case) from the same LCR
    3. substract 1 from NWO value in airplanes_report table where "old" program_id
    4. add 1 to NWO value in airplanes_report table where "new" program_id
    that is.

Maybe you are looking for

  • Workflow Manager and SharePoint Designer publishing error

    Hello all, I'm hoping for some help in fixing this issue. I've been trying to publish a workflow using SharePoint Designer only to find that I get this error: "Errors were found when compilint the workflow. The workflow files were saved but cannot be

  • Why can't I login into my Apple ID from the settings menu on iPhone 4s?

    So I was texting my friend as I was plugging in my phone to charge. When I plugged it in, a sign showed up telling me to enter my Apple ID. I ignored it and pressed cancel. That is when my problem started. Now when I try to turn on iMessage it doesn'

  • Poor Quality DVD footage

    Hi There I wandered if anyone can help, please! From FCP, I've exported a QuickTime movie using compressor and the XD CAM 1080 25p codec (as this is the source footage). Open the mov in QT and it plays perfectly. I create and burn my disk using DVDSP

  • How do I stop the Plugin Status screen from coming up every time I open Firefox?

    I get a screen asking me to update or delete a list of plug ins. I don't want to see this every time I open Firefox.

  • Which Address Book names have a picture?

    Is there any way to easily see which cards in Address Book already have a picture? I was hoping that the tiny icon in the Name column of Card and Column view would change if you already had a picture attached to that card. Some visual indication, lik