Really poor performances

Hi everyone,
first of all, sorry for my poor english.
I'm trying developing a simple app using Flash CS5.
I've tested my app on a pc and it was ok but when I tried it on the Iphone performances became pretty bad.
I did some animation  using the timeline and reading this forum I realized that probably this is the reason of my problems.
Now I'm trying to find a best way to make my animation running smoothly.
I'm not such experienced programmer so maybe things really oblivious for you could be new for me.
I'll start fixing thing step by step, so this is my first question:
My app start with a picture that goes from alpha=0 to alpha=100 and then back to 0, doing it using the timeline produce a choppy animation.
I' ve also tried to convert my animation in this code:
import fl.motion.Animator;
var test_xml:XML = <Motion duration="30" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*">
<source>
<Source frameRate="24" x="320" y="480" scaleX="1" scaleY="1" rotation="0" elementType="graphic" symbolName="Tween 21">
<dimensions>
<geom:Rectangle left="-320" top="-480" width="320" height="480"/>
</dimensions>
<transformationPoint>
<geom:Point x="1" y="1"/>
</transformationPoint>
</Source>
</source>
<Keyframe index="0" tweenSnap="true" tweenSync="true">
<color>
<Color alphaMultiplier="0"/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="29">
<color>
<Color/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="78">
<color>
<Color/>
</color>
<tweens>
<SimpleEase ease="0"/>
</tweens>
</Keyframe>
<Keyframe index="106">
<color>
<Color alphaMultiplier="0" />
</color>
</Keyframe>
</Motion>;
var test_animator:Animator = new Animator(test_xml, test);
test_animator.play();
But the animation is still slow.
I'm sure there is a more efficent way to do this. Someone could help me?

@Arnold, the slowdown occurs because each bitmap (as you cycle through them) is being sent to the GPU. Transferring data to the GPU is slow, but once it is there it is fast.
Sorry, Arnold, this is because I missed out some code - when the frames are cached, they should be placed outside the screen area on the stage. Something like:
// This is the initialisation and should only happen once. This takes each of
// the frames of animation (BitmapData) and place them inside a Bitmap. These
// are stored in an array, and placed offscreen so they are not visible. This last
// is done so that Flash caches the BitmapData objects on the GPU. I have
// read that if the objects are not on stage, they are flushed from the GPU.
var animFrames : Vector.<Bitmap>;
var animFrameIndex : int = 0;
var frameCounter : int = 0;
animFrames = new Vector.<Bitmap>();
animFrames.push( new Bitmap( new AnimFrame1(0,0), PixelSnapping.ALWAYS, false ) );
animFrames.push( new Bitmap( new AnimFrame2(0,0), PixelSnapping.ALWAYS, false ) );
animFrames.push( new Bitmap( new AnimFrame3(0,0), PixelSnapping.ALWAYS, false ) );
// --- this was missing
// Place the frames off screen to force the GPU to cache them. Make sure that
// they do not (completely) overlap or Flash may not cache them.
var i : int;
var xPos : int = -100;
for (i=0; i<animFrames.length; i++){
     xPos -= animFrames[i].width;
     animFrames[i].x = xPos;
     addChild(animFrames[i]);
// --- this was missing
// This is your sprite. It's bitmapData is set to one of the ones in your vector
var mySprite : Bitmap = new Bitmap( animFrames[0].bitmapData, PixelSnapping.ALWAYS, false );
// Register your game loop
addEventListener(Event.ENTER_FRAME,onEnterFrameDraw);
// Game loop that runs every frame, but only updates the animation every second frame. A
// much better technique would be to use the elapsed time since the app started (using
// getTimer() ) to determine when to change frames. This avoids any differences in speed
// between devices (e.g. iPhone 1st gen, iPhone 4 etc).
function onEnterFrameDraw( e : Event ):void{
  // Odd numbers only
  if (frameCounter & 1){
    // Update animation to next frame
    mySprite.bitmapData = animFrames[ animFrameIndex ];
    // Update frame index to next frame of animation
    animFrameIndex++;
    if (animFrameIndex == animFrames.length) animFrameIndex = 0;
  frameCounter++;
Edited 1 Nov 2010: Based on information in this thread, it seems you cannot stack the images to cache them as Flash is smart enough not to cache any hidden images. I have updated the code to stagger the images. I wonder, though, if Flash is smart enough to cache them if they are off-screen?

Similar Messages

  • Is anyone able to explain really poor performance when using 'If Exists'?

    Hello all.  We've recently had a performance spike when using the 'if exists' construct, which is a construct that we use through much of our code.  The problem is, it appears illogical since if can be removed via a tiny modification that does
    not change the core code.
    I can demonstrate  
    This is the (simplified) format of the base original code.  It's purpose is to identify when a column value has changed comparing to a main table and a complex view
    select 1 from MainTable m
    inner join ComplexView v on m.col2 = v.col2
    where m.col3 <> v.col3
    This is doing a table scan, however the table only has 17000 rows while the view only has 7000 rows.  The sql executes in approximately 3 seconds.
    However if we add the 'If Exists' construct around the original query, like such:
    if exists (
    select 1 from MainTable m
    inner join ComplexView v on m.col2 = v.col2
    where m.col3 <> v.col3
    print 1
    The sql now takes over 2 minutes to run.  Note that the core sql is unchanged.  All I have done is wrap it with 'If Exists'
    I can't fathom why the if exists construct is taking so much longer, especially since the code code is unchanged, however more importantly I would like to understand why since we commonly use this type of syntax.
    Any advice would be greatly appreciated

    OK, that's interesting.  Adding the top 1 clause greatly affects the performance (in a bad way).
    The original query (as below) still runs in a few seconds.
    select 1 from MainTable m
    inner join ComplexView v on m.col2 = v.col2
    where m.col3 <> v.col3
    The 'Top 1' query (as below) takes almost 2 minutes however.  It's exactly the same query, but with 'top 1' added to it.
    select top 1 1 from MainTable m
    inner join ComplexView v on m.col2 = v.col2
    where m.col3 <> v.col3
    I suspect that the top 1 is performing a very similar operation to the exists, in that it is 'supposed' to exit as soon as it finds a single row that satisfies it's results.
    It's still not really any closer to making me understand what is causing the issue however.

  • Skype crashing and poor performance

    Hello!
    I have a Lumia625 with WP8.1. My problem is that Skype has a really poor performance on my phone. It crashes 6 times out of 10 on startup, and even if I manage to start it, the whole app is slow and laggy. Sometimes I can't even write a message it's so laggy. Video call is absolutely out of the question. It crashes my whole phone. I have no similar problems with other instant messaging apps nor with high-end games. There is something obviously using way more resource in the Skype app than it's supposed to. It's a simple chat program, why would it need so much resource?
    The problem seems to be originating from the lower (512 mb) RAM size of my phone model, because I experienced the same effect with poorly written apps, that don't keep in mind that there are 512 RAM devices, not only 1GB+ ones, and use too much resource.
    Please don't try to suggest to restart/reset the phone, and reinstall the app. Those are already behind me, and they did NOT help the problem. I'm not searching for temporary workarounds.
    Please find a solution for this problem, because it is super annoying, and I can't use Skype, which will eventually result in me leaving Skype.
    Solved!
    Go to Solution.

    When it crashes on startup it goes like:
    I tap the skype tile
    The black screen with the "Loading....." appears (default WP loading screen). Usually this takes longer than it would normally take on any other app.
    For a blink of an eye the Skype gui appears, but it instantly crashes.
    If I can successfully start up the app, it just keeps lagging. I sart to write a message to a contact, and sometimes even the letters don't appear as I touch them, but they appear much later altogether. If I tap the send message button the whole gui freezes (seems like it freezes till the contact gets my message). Sometimes the lag get stronger, and sometimes it almost vanishes, but if I keep making inputs when the lag is strong, sometimes it crashes the whole app.
    When I first installed the app, everything was fine. But after a while this behavior appeared. I reinstalled the app, and it solved the problem temporarily, but after some time the problem re-appeared. I don't know if it's relevant, but there was a time when I couldn't make myself appear online all the time (when the app was not started). In that time I didn't experience the lags and crashes. Anyways, what I'm sure about is that the lags get worse with time. Idk if it's because of use of the app (caching?), or the updates the phone makes to itself (conflict?).
    I will try to reinstall Skype. Probably it will fix it for now. I hope the problem won't appear again.

  • Poor Performance of Safari with YouTube

    Recently I have noticed really poor performance of Safari when I try to watch videoes on YouTube.
    I have experienced this both with my 2009 iMac desktop and my brand new MacBook Pro w/ Retina Display.
    This can't be a network problem because I pay Verizon way too much money every month for their FiOS Quantum service and various speedtests that I run look OK.
    Is the problem with Safari or what?

    You guys are not following me. And, I'm not sure if I used that term right. I was talking about answers you see from google searches, not from people here. I am a 40 year old business owner not a kid. What I meant by "fanboy" is that a lot of times when you search online for something like "Itunes on my PC is not seeing my ipod", you see the most popular answer is "Buy a mac". Yes it may be funny, but it is not really helpful. That is the type of person I was referring to, and I was not talking about people here. People on this discussion board seem to be very helpful. I own macs and PC's, so don't like the answer "get a mac". I have one (three in fact), but I also have PC's. I love my mac computers, my iPhone, my iPad, my AppleTV and all of that just like you guys probably do.
    I still think it is an interesting and strange issue. If you contacted the IE folks, they would say "Are you having this problem on all websites?". As soon as you said "No, just this one". They would say "It must be the way the website is written". If you talk to someone here, the answer might lean towards "If it runs fine on Safari, but not on IE, it must be an IE issue".
    I was just thinking it was an interesting enough scenario that someone had looked into it. Sorry if I was misunderstood and riled someone up.
    Message was edited by: Austin Rob

  • Shared nothing live migration over SMB. Poor performance

    Hi,
    I´m experiencing really poor performance when migrating VMs between newly installed server 2012 R2 Hyper-V hosts.
    Hardware:
    Dell M620 blades
    256Gb RAM
    2*8C Intel E5-2680 CPUs
    Samsung 840 Pro 512Gb SSD running in Raid1
    6* Intel X520 10G NICs connected to Force10 MXL enclosure switches
    The NICs are using the latest drivers from Intel (18.7) and firmware version 14.5.9
    The OS installation is pretty clean. Its Windows Server 2012 R2 + Dell OMSA + Dell HIT 4.6
    I have removed the NIC teams and vmSwitch/vNICs to simplify the problem solving process. Now there is one nic configured with one IP. RSS is enabled, no VMQ.
    The graphs are from 4 tests.
    Test 1 and 2 are nttcp-tests to establish that the network is working as expected.
    Test 3 is a shared nothing live migration of a live VM over SMB
    Test 4 is a storage migration of the same VM when shut down. The VMs is transferred using BITS over http.
    It´s obvious that the network and NICs can push a lot of data. Test 2 had a throughput of 1130MB/s (9Gb/s) using 4 threads. The disks can handle a lot more than 74MB/s, proven by test 4.
    While the graph above doesn´t show the cpu load, I have verified that no cpu core was even close to running at 100% during test 3 and 4.
    Any ideas?
    Test
    Config
    Vmswitch
    RSS
    VMQ
    Live Migration Config
    Throughput (MB/s)
    NTtcp
    NTttcp.exe -r -m 1,*,172.17.20.45 -t 30
    No
    Yes
    No
    N/A
    500
    NTtcp
    NTttcp.exe -r -m 4,*,172.17.20.45 -t 30
    No
    Yes
    No
    N/A
    1130
    Shared nothing live migration
    Online VM, 8GB disk, 2GB RAM. Migrated from host 1 -> host2
    No
    Yes
    No
    Kerberos, Use SMB, any available net
    74
    Storage migration
    Offline VM, 8Gb disk. Migrated from host 1 -> host2
    No
    Yes
    No
    Unencrypted BITS transfer
    350

    Hi Per Kjellkvist,
    Please try to change the "advanced features"settings of "live migrations" in "Hyper-v settings" , select "Compression" in "performance options" area .
    Then test 3 and 4 .
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Poor performance of the BDB cache

    I'm experiencing incredibly poor performance of the BDB cache and wanted to share my experience, in case anybody has any suggestions.
    Overview
    Stone Steps maintains a fork of a web log analysis tool - the Webalizer (http://www.stonesteps.ca/projects/webalizer/). One of the problems with the Webalizer is that it maintains all data (i.e. URLs, search strings, IP addresses, etc) in memory, which puts a cap on the maximum size of the data set that can be analyzed. Naturally, BDB was picked as the fastest database to maintain analyzed data on disk set and produce reports by querying the database. Unfortunately, once the database grows beyond the cache size, overall performance goes down the drain.
    Note that the version of SSW available for download does not support BDB in the way described below. I can make the source available for you, however, if you find your own large log files to analyze.
    The Database
    Stone Steps Webalizer (SSW) is a command-line utility and needs to preserve all intermediate data for the month on disk. The original approach was to use a plain-text file (webalizer.current, for those who know anything about SSW). The BDB database that replaced this plain text file consists of the following databases:
    sequences (maintains record IDs for all other tables)
    urls -primary database containing URL data - record ID (key), URL itself, grouped data, such as number of hits, transfer size, etc)
    urls.values - secondary database that contains a hash of the URL (key) and the record ID linking it to the primary database; this database is used for value lookups)
    urls.hits - secondary database that contains the number of hits for each URL (key) and the record ID to link it to the primary database; this database is used to order URLs in the report by the number of hits.
    The remaining databases are here just to indicate the database structure. They are the same in nature as the two described above. The legend is as follows: (s) will indicate a secondary database, (p) - primary database, (sf) - filtered secondary database (using DB_DONOTINDEX).
    urls.xfer (s), urls.entry (s), urls.exit (s), urls.groups.hits (sf), urls.groups.xfer (sf)
    hosts (p), hosts.values (s), hosts.hits (s), hosts.xfer (s), hosts.groups.hits (sf), hosts.groups.xfer (sf)
    downloads (p), downloads.values (s), downloads.xfer (s)
    agents (p), agents.values (s), agents.values (s), agents.hits (s), agents.visits (s), agents.groups.visits (sf)
    referrers (p), referrers.values (s), referrers.values (s), referrers.hits (s), referrers.groups.hits (sf)
    search (p), search.values (s), search.hits (s)
    users (p), users.values (s), users.hits (s), users.groups.hits (sf)
    errors (p), errors.values (s), errors.hits (s)
    dhosts (p), dhosts.values (s)
    statuscodes (HTTP status codes)
    totals.daily (31 days)
    totals.hourly (24 hours)
    totals (one record)
    countries (a couple of hundred countries)
    system (one record)
    visits.active (active visits - variable length)
    downloads.active (active downloads - variable length)
    All these databases (49 of them) are maintained in a single file. Maintaining a single database file is a requirement, so that the entire database for the month can be renamed, backed up and used to produce reports on demand.
    Database Size
    One of the sample Squid logs I received from a user contains 4.4M records and is about 800MB in size. The resulting database is 625MB in size. Note that there is no duplication of text data - only nodes and such values as hits and transfer sizes are duplicated. Each record also contains some small overhead (record version for upgrades, etc).
    Here are the sizes of the URL databases (other URL secondary databases are similar to urls.hits described below):
    urls (p):
    8192 Underlying database page size
    2031 Overflow key/data size
    1471636 Number of unique keys in the tree
    1471636 Number of data items in the tree
    193 Number of tree internal pages
    577738 Number of bytes free in tree internal pages (63% ff)
    55312 Number of tree leaf pages
    145M Number of bytes free in tree leaf pages (67% ff)
    2620 Number of tree overflow pages
    16M Number of bytes free in tree overflow pages (25% ff)
    urls.hits (s)
    8192 Underlying database page size
    2031 Overflow key/data size
    2 Number of levels in the tree
    823 Number of unique keys in the tree
    1471636 Number of data items in the tree
    31 Number of tree internal pages
    201970 Number of bytes free in tree internal pages (20% ff)
    45 Number of tree leaf pages
    243550 Number of bytes free in tree leaf pages (33% ff)
    2814 Number of tree duplicate pages
    8360024 Number of bytes free in tree duplicate pages (63% ff)
    0 Number of tree overflow pages
    The Testbed
    I'm running all these tests using the latest BDB (v4.6) built from the source on Win2K3 server (release version). The test machine is 1.7GHz P4 with 1GB of RAM and an IDE hard drive. Not the fastest machine, but it was able to handle a log file like described before at a speed of 20K records/sec.
    BDB is configured in a single file in a BDB environment, using private memory, since only one process ever has access to the database).
    I ran a performance monitor while running SSW, capturing private bytes, disk read/write I/O, system cache size, etc.
    I also used a code profiler to analyze SSW and BDB performance.
    The Problem
    Small log files, such as 100MB, can be processed in no time - BDB handles them really well. However, once the entire BDB cache is filled up, the machine goes into some weird state and can sit in this state for hours and hours before completing the analysis.
    Another problem is that traversing large primary or secondary databases is a really slow and painful process. It is really not that much data!
    Overall, the 20K rec/sec quoted above drop down to 2K rec/sec. And that's all after most of the analysis has been done, just trying to save the database.
    The Tests
    SSW runs in two modes, memory mode and database mode. In memory mode, all data is kept in memory in SSW's own hash tables and then saved to BDB at the end of each run.
    In memory mode, the entire BDB is dumped to disk at the end of the run. First, it runs fairly fast, until the BDB cache is filled up. Then writing (disk I/O) goes at a snail pace, at about 3.5MB/sec, even though this disk can write at about 12-15MB/sec.
    Another problem is that the OS cache gets filled up, chewing through all available memory long before completion. In order to deal with this problem, I disabled the system cache using the DB_DIRECT_DB/LOG options. I could see OS cache left alone, but once BDB cache was filed up, processing speed was as good as stopped.
    Then I flipped options and used DB_DSYNC_DB/LOG options to disable OS disk buffering. This improved overall performance and even though OS cache was filling up, it was being flushed as well and, eventually, SSW finished processing this log, sporting 2K rec/sec. At least it finished, though - other combinations of these options lead to never-ending tests.
    In the database mode, stale data is put into BDB after processing every N records (e.g. 300K rec). In this mode, BDB behaves similarly - until the cache is filled up, the performance is somewhat decent, but then the story repeats.
    Some of the other things I tried/observed:
    * I tried to experiment with the trickle option. In all honesty, I hoped that this would be the solution to my problems - trickle some, make sure it's on disk and then continue. Well, trickling was pretty much useless and didn't make any positive impact.
    * I disabled threading support, which gave me some performance boost during regular value lookups throughout the test run, but it didn't help either.
    * I experimented with page size, ranging them from the default 8K to 64K. Using large pages helped a bit, but as soon as the BDB cached filled up, the story repeated.
    * The Db.put method, which was called 73557 times while profiling saving the database at the end, took 281 seconds. Interestingly enough, this method called ReadFile function (Win32) 20000 times, which took 258 seconds. The majority of the Db.put time was wasted on looking up records that were being updated! These lookups seem to be the true problem here.
    * I tried libHoard - it usually provides better performance, even in a single-threaded process, but libHoard didn't help much in this case.

    I have been able to improve processing speed up to
    6-8 times with these two techniques:
    1. A separate trickle thread was created that would
    periodically call DbEnv::memp_trickle. This works
    especially good on multicore machines, but also
    speeds things up a bit on single CPU boxes. This
    alone improved speed from 2K rec/sec to about 4K
    rec/sec.Hello Stone,
    I am facing a similar problem, and I too hope to resolve the same with memp_trickle. I had these queries.
    1. what was the % of clean pages that you specified?
    2. What duration were you clling this thread to call memp_trickle?
    This would give me a rough idea about which to tune my app. Would really appreciate if you can answer these queries.
    Regards,
    Nishith.
    >
    2. Maintaining multiple secondary databases in real
    time proved to be the bottleneck. The code was
    changed to create secondary databases at the end of
    the run (calling Db::associate with the DB_CREATE
    flag), right before the reports are generated, which
    use these secondary databases. This improved speed
    from 4K rec/sec to 14K rec/sec.

  • Extremely Slow Startup, Blue Screen, and Poor Performance

    Hello,
    A couple of weeks ago my MBP 15" (late 2009 model) started performing really poorly. The colour wheel would spin for about 2 minutes if a launched any applications and everything was really slow. It also took about 10 minutes on the grey apple screen to startup and then another 10 or so on the blue screen before slowly revealiing my desktop.
    I took it into the genius bar and the said it might be a corrupt file on the HD. Backed up my HD, zeroed the drive and reinstalled OS. Still the same problems. Ran disk utility several times and got various errors pertaining to HD or RAM.
    Took it back into the Genius bar and they ran a long diagnostic on it, came back to me and said it is deifinatly the RAM. I replaced the ram, (2x2GB ddr3-1066 sodimm) and cleared PRam. Still the same startup and performance issues.
    Any ideas would be appreciated as this is stressing me out big time as I dont know what else it could be?

    SpennyT1 wrote:
    Backed up my HD, zeroed the drive and reinstalled OS.
    Hmm... before this I think I would have restarted the computer in Safe Boot mode which deletes the dynamic-loader shared cache.
    Not sure if it is relevant at this point
    Safe Boot
    # it forces a directory check of the startup volume.
    # It loads only required kernel extensions (some of the items in /System/Library/Extensions).
    # In Mac OS X v10.3.9 or earlier, Safe Mode runs only Apple-installed startup items (such items may be installed either in /Library/StartupItems or in /System/Library/StartupItems; these are different than user-selected account login items).
    # It disables all fonts other than those in /System/Library/Fonts (Mac OS X v10.4 or later).
    # It moves to the Trash all font caches normally stored in /Library/Caches/com.apple.ATS/(uid)/ , where (uid) is a user ID number such as 501 (Mac OS X v10.4 or later).
    # It disables all startup items and login items (Mac OS X v10.4 or later).
    # Mac OS X v10.5.6 or later: A Safe Boot deletes the dynamic loader shared cache at (/var/db/dyld/). A cache with issues may cause a blue screen on startup, particularly after a Software Update. Restarting normally recreates this cache.
    Message was edited by: leroydouglas
    Did you run the Apple Hardware Test. What is the S.M.A.R.T. status, could be that HD is failing?

  • Crashing and poor performance during playback of a large project.

    Hi,
    I've been a regular user of iMovie for about 3 years and have edited several 50GB+ projects of DV quality footage without too many major issues with lag or 'dropped frames'. I currently have a 80GB project that resides on a 95% full 320GB Firewire 400 external drive that has been getting very slow to open and near impossible to work with.
    Pair the bursting-at-the-seams external drive, with an overburdened 90% full internal drive - the poor performance wasn't to be unexpected. So I bought a 1TB Firewire 400 drive to free up some space on my Mac. My large iTunes library (150GB) was the main culprit and it was quickly moved onto the new drive.
    The iMovie project was then moved onto my Mac's movie folder - I figured that the project needs some "room" to work (not that I really understand how Macs use memory) and that having roughly 80GB free with 1.5GB RAM (which is more than used to have) would make everything just that much smoother.
    Wrong.
    The project opened in roughly the same amount of time - but when I tried to play back the timeline, it plays like rubbish and then after 10-15 secs the Mac goes into 'sleep' mode. The screen goes off, the fans dies down and the 'heartbeat' light goes on. A click of the mouse 'wakes' the Mac only to find that if i try again, I get the same result.
    I've probably got so many variables going on here that it's probably hard to suggest what the problem might be but all I could think of was repairing permissions (which I did and none needed it).
    Stuck on this. Anyone have any advice?

    I understand completely, having worked with a 100 GB project once. I found that getting a movie bloated up to that size was just more difficult with jerky playback.
    I do have a couple of suggestions for you.
    You may need more than that 80GB free space for this movie. Is there any reason you cannot move it to the 1TB drive? If you have only your iTunes on it, you should have about 800 GB free.
    If you still need to have the project on your computer's drive, set your computer to never sleep.
    How close to finishing editing are you with this movie? If you are nearly done except for adding audio clips, you can export (share) it as QuickTime Full Quality movie. The resultant quicktime version of your iMovie will be smaller because it will contain only the clips actually used in the movie, not all the saved whole clips that iMovie keeps as its nondestructive editing feature. The quicktime movie will be one continuous clip, incorporating all your edits and added audio. It CAN be further edited, but you cannot change text of titles already there, or change transitions or remove already added audios.
    I actually do this with nearly every iMovie. I create my movies by first importing videos, then adding still photos, then editing with titles, effects and transitions. I add audio last, and if it becomes too distorted in playback, I export the movie and then continue adding audio clips.
    My 100+ GB movie slimmed down to only 8 GB with this method. (The large size was due to having so many clips. The movie was from VHS footage of my son's little league all-star game, and the video had so many skipped segments that I had to split it into thousands of clips to remove the dropped ones. Very old VHS tape!).
    I haven't upgraded to QT 7.5.5, but I heard that the jerky playback issue is mostly resolved with this new upgrade. I am in mid-project with about 5 iMovies, so I will probably plod along with my work-around method, not wanting to upgrade in the middle of any of them.
    Hope this is helpful to you.

  • Poor Performance, startup, and slow everything...

    I have been noticing lately that my MBP is really under performing. Here are my specs:
    -10.5.5
    -2.2 GHz Intel Core 2 Duo
    -2 GB Ram
    -44 GB of HD space
    I recently got a new iMac at work it is really great. Speedy and everything so now it makes me see how poorly my computer is performing. I know that it is capable of being really fast but I just don't know what I can do to make it faster. I have repaired disk permissions but that does basically nothing.
    Thanks for any help!

    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility. For situations DU cannot handle the best third-party utilities are: Disk Warrior; DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation. TechTool Pro 4.5.1 or higher are Intel Mac compatible; Drive Genius is similar to TechTool Pro in terms of the various repair services provided. Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep. Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard.
    OS X automatically defrags files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack. If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline. Note that AppleJack 1.5 is required for Leopard.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. Carbon Copy Cloner (Donationware)
    6. SuperDuper! (Commercial)
    7. Intego Personal Backup (Commercial)
    8. Data Backup (Commercial)
    The following utilities can also be used for backup, but cannot create bootable clones:
    1. Backup (requires a .Mac account with Apple both to get the software and to use it.)
    2. Toast
    3. Impression
    4. arRSync
    Apple's Backup is a full backup tool capable of also backing up across multiple media such as CD/DVD. However, it cannot create bootable backups. It is primarily an "archiving" utility as are the other two.
    Impression and Toast are disk image based backups, only. Particularly useful if you need to backup to CD/DVD across multiple media.
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at www.versiontracker.com and www.macupdate.com.
    Add more RAM. Be careful about comparing to other non-similar hardware. The iMac may be newer, have faster processor, more RAM, etc. Also, "seems faster" is no substitute for benchmarks.

  • 1310 Wireless Bridge Poor performance

    Hello I am getting really bad performance on a bridge i am trying to get up,
    Laptop - Switch - AIR-BR1310G-E-K9-R attena-ed  ----------------  
    attena-ed AIR-BR1310G-E-K9-R switch laptop.
    When doing an FTP Transfer i get a poor 1MB, these are currently in a lab enviroment, this is a far cry from what i am hoping for,
    can anyone see an issue
    show run
    Building configuration...
    Current configuration : 1892 bytes
    version 12.3
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    hostname site1
    enable secret 5 $1$XQ0Z$Fzjg/dJ/I1sY5bLjss0l4/
    clock summer-time BST recurring last Sun Mar 1:00 last Sun Oct 2:00
    ip subnet-zero
    ip domain name xxxxxx
    ip ssh time-out 60
    ip ssh authentication-retries 2
    ip ssh version 2
    aaa new-model
    aaa authentication login xxxxx
    aaa session-id common
    dot11 ssid XXXXXX
       max-associations 1
       authentication open
       authentication key-management wpa
       infrastructure-ssid
       wpa-psk ascii xxxxxxxxxxxxxxxxxxx
    username Cisco password 7 047802150C2E
    username xxxxxx
    bridge irb
    interface Dot11Radio0
    no ip address
    no ip route-cache
    encryption mode ciphers tkip
    encryption vlan 1 mode ciphers aes-ccm tkip
    ssid xxxxx
    speed basic-1.0 basic-2.0 basic-5.5 basic-6.0 basic-9.0 basic-11.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
    no power client local
    power client 50
    power local cck 50
    power local ofdm 30
    channel 2452
    station-role root bridge
    cca 75
    concatenation
    distance 1
    antenna receive right
    antenna transmit right
    antenna gain 13
    world-mode dot11d country GB outdoor
    infrastructure-client
    bridge-group 1
    bridge-group 1 spanning-disabled
    interface FastEthernet0
    no ip address
    no ip route-cache
    full-duplex
    bridge-group 1
    bridge-group 1 spanning-disabled
    hold-queue 80 in
    interface BVI1
    ip address 192.168.1.1 255.255.255.0
    no ip route-cache
    ip http server
    no ip http secure-server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    control-plane
    bridge 1 route ip
    line con 0
    line vty 0 4
    end
    show run
    Building configuration...
    Current configuration : 1815 bytes
    version 12.3
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    hostname xxxxx
    enable secret 5 $1$SN2n$CLPRLRzAjlUD47jR1ugca.
    clock summer-time BST recurring last Sun Mar 1:00 last Sun Oct 2:00
    ip subnet-zero
    ip domain name xxxxxx
    ip name-server 1.1.1.1
    ip ssh time-out 60
    ip ssh authentication-retries 2
    ip ssh version 2
    aaa new-model
    aaa authentication login xxxxx
    aaa session-id common
    dot11 ssid xxxxx
       max-associations 1
       authentication open
       authentication key-management wpa
       infrastructure-ssid
       wpa-psk ascii xxxxx
    username Cisco password 7 062506324F41
    username xxxxx
    bridge irb
    interface Dot11Radio0
    no ip address
    no ip route-cache
    encryption mode ciphers tkip
    encryption vlan 1 mode ciphers aes-ccm tkip
    ssid xxxxxx
    parent 1 003a.9a21.a8b0
    speed basic-1.0 basic-2.0 basic-5.5 basic-6.0 basic-9.0 basic-11.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
    station-role non-root bridge
    antenna receive left
    antenna transmit right
    antenna gain 13
    world-mode dot11d country GB outdoor
    infrastructure-client
    bridge-group 1
    bridge-group 1 spanning-disabled
    interface FastEthernet0
    no ip address
    no ip route-cache
    full-duplex
    bridge-group 1
    bridge-group 1 spanning-disabled
    hold-queue 80 in
    interface BVI1
    ip address 192.168.1.2 255.255.255.0
    no ip route-cache
    ip http server
    no ip http secure-server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    control-plane
    bridge 1 route ip
    line con 0
    line vty 0 4
    end
    Regards Neil

    Hi Scott,
    Yes they are very close together, about a meter to be exact,
    Sorry im by no means clued up on wireless, so im guessing your after these
    e#show dot11 associations all-client
    Address           : 003a.9a21.b4c0     Name             : xxxxxx
    IP Address        : 192.168.1.2        Interface        : Dot11Radio 0
    Device            : 11g-bridge         Software Version : 12.3
    CCX Version       : NONE
    State             : Assoc              Parent           : self
    SSID              : xxxxxxxx        VLAN             : 0
    Hops to Infra     : 1                  Association Id   : 4
    Clients Associated: 1                  Repeaters associated: 0
    Tunnel Address    : 0.0.0.0
    Key Mgmt type     : WPA PSK            Encryption       : TKIP
    Current Rate      : 54.0               Capability       : WMM ShortHdr ShortSlot
    Supported Rates   : 1.0 2.0 5.5 6.0 9.0 11.0 12.0 18.0 24.0 36.0 48.0 54.0
    Voice Rates       : disabled
    Signal Strength   : -31  dBm           Connected for    : 135 seconds
    Signal to Noise   : 67  dBm            Activity Timeout : 30 seconds
    Power-save        : Off                Last Activity    : 0 seconds ago
    Apsd DE AC(s)     : NONE
    Packets Input     : 101726             Packets Output   : 198208
    Bytes Input       : 10283192           Bytes Output     : 257691877
    Duplicates Rcvd   : 0                  Data Retries     : 10049
    Decrypt Failed    : 0                  RTS Retries      : 0
    MIC Failed        : 0                  MIC Missing      : 0
    Packets Redirected: 0                  Redirect Filtered: 0
    Session timeout   : 0 seconds
    Reauthenticate in : never
    the above is after issuing the power statements
    interface Dot11Radio0
    no ip address
    no ip route-cache
    encryption mode ciphers tkip
    encryption vlan 1 mode ciphers aes-ccm tkip
    ssid xxxxxx
    speed basic-1.0 basic-2.0 basic-5.5 basic-6.0 basic-9.0 basic-11.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
    no power client local
    power client 1
    power local cck 1
    power local ofdm 1
    station-role root bridge
    cca 75
    concatenation
    distance 1
    antenna receive right
    antenna transmit right
    antenna gain 13
    world-mode dot11d country GB outdoor
    infrastructure-client
    bridge-group 1
    bridge-group 1 spanning-disabled
    interface Dot11Radio0
    no ip address
    no ip route-cache
    encryption mode ciphers tkip
    encryption vlan 1 mode ciphers aes-ccm tkip
    ssid xxxx
    parent 1 003a.9a21.a8b0
    speed basic-1.0 basic-2.0 basic-5.5 basic-6.0 basic-9.0 basic-11.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
    no power client local
    power client 1
    power local cck 1
    power local ofdm 1
    station-role non-root bridge
    antenna receive right
    antenna transmit right
    antenna gain 13
    world-mode dot11d country GB outdoor
    infrastructure-client
    bridge-group 1
    bridge-group 1 spanning-disabled
    end
    or
    show int dot 0
    Dot11Radio0 is up, line protocol is up
      Hardware is 802.11G Radio, address is 003a.9a21.a8b0 (bia 003a.9a21.a8b0)
      MTU 1500 bytes, BW 54000 Kbit, DLY 1000 usec,
         reliability 255/255, txload 21/255, rxload 1/255
      Encapsulation ARPA, loopback not set
      ARP type: ARPA, ARP Timeout 04:00:00
      Last input 00:07:23, output 00:00:00, output hang never
      Last clearing of "show interface" counters never
      Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 36
      Queueing strategy: fifo
      Output queue: 0/30 (size/max)
      5 minute input rate 105000 bits/sec, 224 packets/sec
      5 minute output rate 4630000 bits/sec, 440 packets/sec
         231658 packets input, 14164388 bytes, 0 no buffer
         Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 input packets with dribble condition detected
         448016 packets output, 581607544 bytes, 0 underruns
         16 output errors, 0 collisions, 4 interface resets
         0 babbles, 0 late collision, 0 deferred
         0 lost carrier, 0 no carrier
         0 output buffer failures, 0 output buffers swapped out
    I can serperate them by atlease 10 meters down the hallway... , What is the likely hood of actually getting 54.0 when they are deployed, Distance no more that 1Km) how do these stats look?
    Neil

  • RemoteFX Poor Performance

    Hello,
    I am experiencing poor performance with a virtualized Windows 8.1 Enterprise. When I do not have the "RemoteFX 3D Video Adapter" added to the VM Windows 8.1 is more responsive (with simple things like moving windows around the desktop) but of course
    I don't get the benefits of RemoteFX.
    I have a bench system setup to test RemoteFX in Server 2012R2.
    Host Server:
    Windows Server 2012 R2
    Core i5-4570 (3.2Ghz)
    8GB RAM
    SSD for VM's
    nVidia GTX750 Ti (tested with other nVidia and ATI cards with the same result)
    The VM:
    Windows 8.1 Ent
    4 vCPU's
    4GB RAM (non dynamic)
    RemoteFX 3D Video ADapter w/ 4 Monitors and 1920x1200 resolution
    The RDP clients I have tested with are Windows 8.1 Enterprise and Windows 7 Ultimate SP1 (RDP client says version 6.3.9600 and Remote Desktop Protocol 8.1 supported). This is all tested on a Gig LAN and the quality of the connection says "the remote
    computer is excellent and UDP is enabled".
    The event viewer on the 8.1 VM shows RemoteFX being used as does the performance counters on the host. Everything is slow and does not really run as expected other then Windows Media Player. Playing HD movie on Windows Media Player it looks great but if
    I open the same video in VLC it is choppy. Youtube is also choppy.
    I have tried disabling the NIC offload in the adapter and in the registry as seems to be recommended in a few different forums without success.
    It seems to me that Windows Media Redirection works however the RemoteFX Media Streaming is not kicking in when required or it's not working well.
    Using Windows Media Player I am getting average encoding time of about 2ms and frames skipped/second - Insufficient Server Resources is average 18. The other frames skipped options are 0. The total CPU utilization on the server is about 6%. (subjectively
    quality seems a little less then with VLC but audio is in better sync)
    Using VLC I am getting average encoding time of about 51ms and frames skipped/second - Insufficient Server Resources is average 0.1. The other frames skipped options are 0. The total CPU utilization on the server is about 25%.
    On other higher resolution movies using VLC I get some average encoding time is almost 100ms.
    I ran the Unigine Heaven Benchmark 4.0 test the DirectX performance on the VM with RemoteFX. With the VM I got a score of 392 and it's pretty jerky. On the host, not using RDP, I got a score of 1108 and it was nice and smooth.
    I assume that the perceived slowness is because of the Average Encoding Time. What can I do to improve this?
    Thank you for your time,
    Seamus

    Hi,
    Thank you for posting in Windows Server Forum.
    You can run below mention command from PowerShell.
    Import-Module RemoteDesktopServices 
    Add-VMRemoteFx3dVideoAdapter -VMName nameofcomputer 
    SET-VMRemoteFx3dVideoAdapter –VMName nameofcomputer
    After that the adapter should work.
    In addition please check the article to see RemoteFx Compatible GPUs.
    GPU Requirements for RemoteFX on Windows Server 2012 R2
    RemoteFX vGPU Setup and Configuration Guide for Windows Server 2012
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Poor Performance of Blackberry 9860-Torch Model RDP71UW

    This is to inform you regarding my sincere concern over the blackberry product. I had bought a new blackberry torch 9860 11 months back and since then am facing problems because of the poor performance of the handset. During this period I have taken this handset 4times for servicing to your authorized service center. My data loss and of-course time is lost each time. Its too pathetic that I have to take the phone for service in the very first year of purchase and despite of that still has complaint. I am really sorry to say the performance of this reputed brand is far below the expectation and is poor that any cheap quality phones available in the market.
    I am least satisfied with the quality of phone and also doubtful about the other blackberry models available in the market.
    Finding no other alternative I am forced to forward this expecting a sincere reply and a solution to resolve the issues with my handset.
    Regards
    Sunil Kumar

    I'm sorry to hear of your phone issues.  Just to be clear, we're volunteers here and not actual RIM employees so any response you receive here is not directly from RIM.
    We're very good at solving issues in these forums.  If I could ask you to list any issues you're having, including what error message(s) you're seeing, what actions you performed when seeing such message(s), etc., we can tackle the issues one at a time.  Hopefully with our help, you can cancel any future trips to the service depots.
    We await your reply. 
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • Non jdriver poor performance with oracle cluster

    Hi,
    we decided to implement batch input and went from Weblogic Jdriver to Oracle Thin 9.2.0.6.
    Our system are a Weblogic 6.1 cluster and an Oracle 8.1.7 cluster.
    Problem is .. with the new Oracle drivers our actions on the webapp takes twice as long as with Jdriver. We also tried OCI .. same problem. We switched to a single Oracle 8.1.7 database .. and it worked again with all thick or thin drivers.
    So .. new Oracle drivers with oracle cluster result in bad performance, but with Jdriver it works perfectly. Does sb. see some connection?
    I mean .. it works with Jdriver .. so it cant be the database, huh? But we really tried with every JDBC possibility! In fact .. we need batch input. Advise is very appreciated =].
    Thanx for help!!
    Message was edited by mindchild at Jan 27, 2005 10:50 AM
    Message was edited by mindchild at Jan 27, 2005 10:51 AM

    Thx for quick replys. I forget to mention .. we also tried 10g v10.1.0.3 from instantclient yesterday.
    I have to agree with Joe. It was really fast on the single machine database .. but we had same poor performance with cluster-db. It is frustrating. Specially if u consider that the Jdriver (which works perfectly in every combination) is 4 years old!
    Ok .. we got this scenario, with our appPage CustomerOverview (intensiv db-loading) (sorry.. no real profiling, time is taken with pc watch) (Oracle is 8.1.7 OPS patch level1) ...
    WL6.1_Cluster + Jdriver6.1 + DB_cluster => 4sec
    WL6.1_Cluster + Jdriver6.1 + DB_single => 4sec
    WL6.1_Cluster + Ora8.1.7 OCI + DB_single => 4sec
    WL6.1_Cluster + Ora8.1.7 OCI + DB_cluster => 8-10sec
    WL6.1_Cluster + Ora9.2.0.5/6 thin + DB_single => 4sec
    WL6.1_Cluster + Ora9.2.0.5/6 thin + DB_cluster => 8sec
    WL6.1_Cluster + Ora10.1.0.3 thin + DB_single => 2-4sec (awesome fast!!)
    WL6.1_Cluster + Ora10.1.0.3 thin + DB_cluster => 6-8sec
    Customers rough us up, because they cannot mass order via batch input. Any suggestions how to solve this issue is very appreciated.
    TIA
    >
    >
    Markus Schaeffer wrote:
    Hi,
    we decided to implement batch input and went fromWeblogic Jdriver to Oracle Thin 9.2.0.6.
    Our system are an Weblogic 6.1 cluster and a Oracle8.1.7 cluster.
    Problem is .. with the new Oracle drivers ouractions on the webapp takes twice as long
    as with Jdriver. We also tried OCI .. same problem.We switched to a single Oracle 8.1.7
    database .. and it worked again with all thick orthin drivers.
    So .. new Oracle drivers with oracle cluster
    result in bad performance, but with
    Jdriver it works perfectly. Does sb. see someconnection?Odd. The jDriver is OCI-based, so it's something
    else. I would try the latest
    10g driver if it will work with your DBMS version.
    It's much faster than any 9.X
    thin driver.
    Joe
    I mean .. it works with Jdriver .. so it cant bethe database, huh? But we really
    tried with every JDBC possibility!
    Thanx for help!!

  • Poor Performance with Converged Fabrics

    Hi Guys,
    I'm having some serious performance issues with Converged Fabrics in my Windows Server 2012 R2 lab. I'm planning on creating a Hyper-V cluster with 3 nodes. I've built the first node, building and installing/configuring OS and Hyper-V pretty straight forward.
    My issue is with Converged Fabrics, I'm absolutely getting very slow performance in the sense of managing the OS, Remote Desktop connections taking very long and eventually times out. Server unable to find a writable domain controller due to slow performance.
    If I remove the converged fabric everything is awesome, works as expected. Please note that the cluster hasn't even been built yet and experiencing this poor performance.
    Here is my server configuration:
    OS: Windows Server 2012 R2
    RAM: 64GB
    Processor: Intel I7 Gen 3
    NICS: 2 X Intel I350-T2 Adapters, supporting SRIOV/VMQ
    Updates: All the latest updates applied
    Storage:
    Windows Server 2012 R2 Storage Spaces
    Synology DS1813+
    Updates: All the latest updates applied
    Below is the script I've written to automate the entire process.
    # Script: Configure Hyper-V
    # Version: 1.0.2
    # Description: Configures the Hyper-V Virtual Switch and
    #              Creates a Converged Fabric
    # Version 1.0.0: Initial Script
    # Version 1.0.1: Added the creation of SrIOV based VM Switches
    # Version 1.0.2: Added parameters to give the NLB a name, as well as the Hyper-V Switch
    param
        [Parameter(Mandatory=$true)]
        [string]$TeamAdapterName="",
        [Parameter(Mandatory=$true)]
        [string]$SwitchName="",
        [Parameter(Mandatory=$true)]
        [bool]$SrIOV=$false
    #Variables
    $CurrentDate = Get-Date -Format d
    $LogPath = "C:\CreateConvergedNetworkLog.txt"
    $ManagmentOSIPv4="10.150.250.5"
    $ManagmentOS2IPv4="10.250.251.5"
    #$CommanGatewayIPv4="10.10.11.254"
    $ManagmentDNS1="10.150.250.1"
    $ManagmentDNS2="10.150.250.3"
    $ManagmentDNS3="10.250.251.1"
    $ManagmentDNS4="10.250.251.3"
    $ClusterIPv4="10.253.251.1"
    $LiveMigrationIPv4="10.253.250.1"
    $CSVIPv4="10.100.250.1"
    $CSV2IPv4="10.250.100.1"
    #Set Excution Policy
    Write-Host "Setting policy settings..."
    Set-ExecutionPolicy UnRestricted
    try
        # Get existing network adapters that are online
        if($SrIOV)
            #$sriov_adapters = Get-NetAdapterSriov | ? Status -eq Up | % Name # Get SRIOV Adapters
            $adapters = Get-NetAdapterSriov | ? Status -eq Up | % Name # Get SRIOV Adapters
            Enable-NetAdapterSriov $adapters # Enable SRIOV on the adapters
        else
            $adapters = Get-NetAdapterSriov | % Name
            #$adapters = Get-NetAdapter | ? Status -eq Up | % Name
        # Create NIC team
        if ($adapters.length -gt 1)
            Write-Host "$CurrentDate --> Creating NIC team $TeamAdapterName..."
            Write-Output "$CurrentDate --> Creating NIC team $TeamAdapterName..." | Add-Content $LogPath
            #New-NetLbfoTeam -Name "ConvergedNetTeam" -TeamMembers $adapters -Confirm:$false | Add-Content $LogPath
            New-NetLbfoTeam -Name $TeamAdapterName -TeamMembers $adapters -TeamingMode SwitchIndependent -LoadBalancingAlgorithm Dynamic -Confirm:$false | Add-Content $LogPath
        else
            Write-Host "$CurrentDate --> Check to ensure that at least 2 NICs are available for teaming"
            throw "$CurrentDate --> Check to ensure that at least 2 NICs are available for teaming" | Add-Content $LogPath
        # Wait for team to come online for 60 seconds
        Start-Sleep -s 60
        if ((Get-NetLbfoTeam).Status -ne "Up")
            Write-Host "$CurrentDate --> The ConvergedNetTeam NIC team is not online. Troubleshooting required"
            throw "$CurrentDate --> The ConvergedNetTeam NIC team is not online. Troubleshooting required" | Add-Content $LogPath
        # Create a new Virtual Switch
        if($SrIOV) #SRIOV based VM Switch
            Write-Host "$CurrentDate --> Configuring converged fabric $SwitchName with SRIOV..."
            Write-Output "$CurrentDate --> Configuring converged fabric $SwitchName with SRIOV..." | Add-Content $LogPath
            #New-VMSwitch "ConvergedNetSwitch" -MinimumBandwidthMode Weight -NetAdapterName "ConvergedNetTeam" -EnableIov $true -AllowManagementOS 0
            New-VMSwitch $SwitchName -MinimumBandwidthMode Weight -NetAdapterName $TeamAdapterName -EnableIov $true -AllowManagementOS 0
            $CreatedSwitch = $true
        else #Standard VM Switch
            Write-Host "$CurrentDate --> Configuring converged fabric $SwitchName..."
            Write-Output "$CurrentDate --> Configuring converged fabric $SwitchName..." | Add-Content $LogPath
            #New-VMSwitch "ConvergedNetSwitch"-MinimumBandwidthMode Weight -NetAdapterName "ConvergedNetTeam" -AllowManagementOS 0
            New-VMSwitch $SwitchName -MinimumBandwidthMode Weight -NetAdapterName $TeamAdapterName -AllowManagementOS $false
            $CreatedSwitch = $true
        if($CreatedSwitch)
            #Set Default QoS
            Write-Host "$CurrentDate --> Setting default QoS policy on $SwitchName..."
            Write-Output "$CurrentDate --> Setting default QoS policy $SwitchName..." | Add-Content $LogPath
            #Set-VMSwitch "ConvergedNetSwitch"-DefaultFlowMinimumBandwidthWeight 30
            Set-VMSwitch $SwitchName -DefaultFlowMinimumBandwidthWeight 20
            #Creating Management OS Adapters (SYD-MGMT)
            Write-Host "$CurrentDate --> Creating and configuring virtual NIC for Management OS"
            Write-Output "$CurrentDate --> Creating and configuring virtual NIC for Management OS" | Add-Content $LogPath
            Add-VMNetworkAdapter -ManagementOS -Name "SYD-MGMT" -SwitchName $SwitchName
            Set-VMNetworkAdapter -ManagementOS -Name "SYD-MGMT" -MinimumBandwidthWeight 30 -VmqWeight 80
            Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "SYD-MGMT" -Access -VlanId 0
            #Creating Management OS Adapters (MEL-MGMT)
            Write-Host "$CurrentDate --> Creating and configuring virtual NIC for Management OS"
            Write-Output "$CurrentDate --> Creating and configuring virtual NIC for Management OS" | Add-Content $LogPath
            Add-VMNetworkAdapter -ManagementOS -Name "MEL-MGMT" -SwitchName $SwitchName
            Set-VMNetworkAdapter -ManagementOS -Name "MEL-MGMT" -MinimumBandwidthWeight 30 -VmqWeight 80
            Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "MEL-MGMT" -Access -VlanId 0
            #Creating Cluster Adapters
            Write-Host "$CurrentDate --> Creating and configuring virtual NIC for Cluster"
            Write-Output "$CurrentDate --> Creating and configuring virtual NIC for Cluster" | Add-Content $LogPath
            #Add-VMNetworkAdapter -ManagementOS -Name "Cluster" -SwitchName "ConvergedNetSwitch"
            Add-VMNetworkAdapter -ManagementOS -Name "HV-Cluster" -SwitchName $SwitchName
            Set-VMNetworkAdapter -ManagementOS -Name "HV-Cluster" -MinimumBandwidthWeight 20 -VmqWeight 80
            Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "HV-Cluster" -Access -VlanId 0
            #Creating LiveMigration Adapters
            Write-Host "$CurrentDate --> Creating and configuring virtual NIC for LiveMigration"
            Write-Output "$CurrentDate --> Creating and configuring virtual NIC for LiveMigration" | Add-Content $LogPath
            Add-VMNetworkAdapter -ManagementOS -Name "HV-MIG" -SwitchName $SwitchName
            Set-VMNetworkAdapter -ManagementOS -Name "HV-MIG" -MinimumBandwidthWeight 40 -VmqWeight 90
            Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "HV-MIG" -Access -VlanId 0
            #Creating iSCSI-A Adapters
            Write-Host "$CurrentDate --> Creating and configuring virtual NIC for iSCSI-A"
            Write-Output "$CurrentDate --> Creating and configuring virtual NIC for iSCSI-A" | Add-Content $LogPath
            Add-VMNetworkAdapter -ManagementOS -Name "iSCSI-A" -SwitchName $SwitchName
            Set-VMNetworkAdapter -ManagementOS -Name "iSCSI-A" -MinimumBandwidthWeight 40 -VmqWeight 100
            Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "iSCSI-A" -Access -VlanId 0
            #Creating iSCSI-B Adapters
            Write-Host "$CurrentDate --> Creating and configuring virtual NIC for iSCSI-B"
            Write-Output "$CurrentDate --> Creating and configuring virtual NIC for iSCSI-B" | Add-Content $LogPath
            Add-VMNetworkAdapter -ManagementOS -Name "iSCSI-B" -SwitchName $SwitchName
            Set-VMNetworkAdapter -ManagementOS -Name "iSCSI-B" -MinimumBandwidthWeight 40 -VmqWeight 100
            Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "iSCSI-B" -Access -VlanId 0
            Write-Host "Waiting 40 seconds for virtual devices to initialise"
            Start-Sleep -Seconds 40
            #Configure the IP's for the Virtual Adapters
            Write-Host "$CurrentDate --> Configuring IPv4 address for the Management OS virtual NIC"
            Write-Output "$CurrentDate --> Configuring IPv4 address for the Management OS virtual NIC" | Add-Content $LogPath
            #New-NetIPAddress -InterfaceAlias "vEthernet (SYD-MGMT)" -IPAddress $ManagmentOSIPv4 -PrefixLength 24 -DefaultGateway $CommanGatewayIPv4
            New-NetIPAddress -InterfaceAlias "vEthernet (SYD-MGMT)" -IPAddress $ManagmentOSIPv4 -PrefixLength 24
            Set-DnsClientServerAddress -InterfaceAlias "vEthernet (SYD-MGMT)" -ServerAddresses ($ManagmentDNS1, $ManagmentDNS2)
            Write-Host "$CurrentDate --> Configuring IPv4 address for the Management OS virtual NIC"
            Write-Output "$CurrentDate --> Configuring IPv4 address for the Management OS virtual NIC" | Add-Content $LogPath
            New-NetIPAddress -InterfaceAlias "vEthernet (MEL-MGMT)" -IPAddress $ManagmentOS2IPv4 -PrefixLength 24
            Set-DnsClientServerAddress -InterfaceAlias "vEthernet (MEL-MGMT)" -ServerAddresses ($ManagmentDNS3, $ManagmentDNS4)
            Write-Host "$CurrentDate --> Configuring IPv4 address for the Cluster virtual NIC"
            Write-Output "$CurrentDate --> Configuring IPv4 address for the Cluster virtual NIC" | Add-Content $LogPath
            New-NetIPAddress -InterfaceAlias "vEthernet (HV-Cluster)" -IPAddress $ClusterIPv4 -PrefixLength 24
            #Set-DnsClientServerAddress -InterfaceAlias "vEthernet (HV-Cluster)" -ServerAddresses $ManagmentDNS1
            Write-Host "$CurrentDate --> Configuring IPv4 address for the LiveMigration virtual NIC"
            Write-Output "$CurrentDate --> Configuring IPv4 address for the LiveMigration virtual NIC" | Add-Content $LogPath
            New-NetIPAddress -InterfaceAlias "vEthernet (HV-MIG)" -IPAddress $LiveMigrationIPv4 -PrefixLength 24
            #Set-DnsClientServerAddress -InterfaceAlias "vEthernet (LiveMigration)" -ServerAddresses $ManagmentDNS1
            Write-Host "$CurrentDate --> Configuring IPv4 address for the iSCSI-A virtual NIC"
            Write-Output "$CurrentDate --> Configuring IPv4 address for the iSCSI-A virtual NIC" | Add-Content $LogPath
            New-NetIPAddress -InterfaceAlias "vEthernet (iSCSI-A)" -IPAddress $CSVIPv4 -PrefixLength 24
            #Set-DnsClientServerAddress -InterfaceAlias "vEthernet (iSCSI-A)" -ServerAddresses $ManagmentDNS1
            Write-Host "$CurrentDate --> Configuring IPv4 address for the iSCSI-B virtual NIC"
            Write-Output "$CurrentDate --> Configuring IPv4 address for the iSCSI-B virtual NIC" | Add-Content $LogPath
            New-NetIPAddress -InterfaceAlias "vEthernet (iSCSI-B)" -IPAddress $CSV2IPv4 -PrefixLength 24
            #Set-DnsClientServerAddress -InterfaceAlias "vEthernet (CSV2)" -ServerAddresses $ManagmentDNS1
            #Write-Host "$CurrentDate --> Configuring IPv4 address for the VMNet virtual NIC"
            #Write-Output "$CurrentDate --> Configuring IPv4 address for the VMNet virtual NIC" | Add-Content $LogPath
            #New-NetIPAddress -InterfaceAlias "vEthernet (VMNet)" -IPAddress $VMNetIPv4 -PrefixLength 24
            #Set-DnsClientServerAddress -InterfaceAlias "vEthernet (VMNet)" -ServerAddresses $ManagmentDNS1
            Write-Host "$CurrentDate --> Hyper-V Configuration is Complete"
            Write-Output "$CurrentDate --> Hyper-V Configuration is Complete" | Add-Content $LogPath
    catch [Exception]
        throw "$_" | Add-Content $LogPath
    I would really like to know why I'm getting absolutely poor performance. Any help on this would be most appreciated.

    I didn't parse the entire script, but a few things stand out.
    SR-IOV and teaming don't mix. The purpose of SR-IOV is to go straight from the virtual machine into the physical adapter and back, completely bypassing the entire Hyper-V virtual switch and everything that goes with it. Team or SR-IOV.
    You're adding DNS servers to adapters that don't need them. Inbound traffic is going to be confused, to say the least. The only adapter that should have DNS addresses is the management adapter. For all others, you should run Set-DnsClient -RegisterThisConnectionsAddress
    $false.
    I don't know that I'm reading your script correctly, but it appears you have multiple adapters set up for management. That won't end well.
    It also looks like you have QoS weights that total over 100. That also won't end well.
    I don't know that these explain poor performance like you're describing, though. It could just be that you're a victim of network adapters/drivers that have poor support for VMQ. Bad VMQ is worse than no VMQ. But, VMQ+teaming+SR-IOV sounds like recipe for
    heartache to me, so I'd start with that.
    Eric Siron Altaro Hyper-V Blog
    I am an independent blog contributor, not an Altaro employee. I am solely responsible for the content of my posts.
    "Every relationship you have is in worse shape than you think."

  • Poor Performance with Fairpoint DSL

    I started using Verizon DSL for my internet connection and had no problems. When Fairpoint Communications purchased Verizon (this is in Vermont), they took over the DSL (about May 2009). Since then, I have had very poor performance with all applications as soon as I start a browser. The performance problems occur regardless of the browser - I've tried Firefox (3.5.4), Safari (4.0.3) and Opera (10.0). I've been around and around with Fairpoint for 6 months with no resolution. I have not changed any software or hardware on my Mac during that time, except for updating the browsers and Apple updates to the OS, iTunes, etc. The performance problems continued right through these updates. I've run tests to check my internet speed and get times of 2.76Mbps (download) and 0.58Mbps (upload) which are within the specified limits for the DSL service. My Mac is a 2GHz PowerPC G5 runnning OSX 10.4.11. It has 512MB DDR SDRAM. I use a Westell Model 6100 modem for the DSL provided by Verizon.
    Some of the specific problems I see are:
    1. very long waits of more than a minute after a click on an item in the menu bar
    2. very long waits of more than two minutes after a click on an item on a browser page
    3. frequent pinwheels in response to a click on a menu item/browser page item
    4. frequent pinwheels if I just move the mouse without a click
    5. frequent messages for stopped/unresponsive scripts
    6. videos (like YouTube) stop frequently for no reason; after several minutes, I'll get a little audio but no new video; eventually after several more minutes it will get going again (both video and audio)
    7. response in non-browser applications is also very slow
    8. sometimes will get no response at all to a mouse click
    9. trying to run more than one browser at a time will bring the Mac to its knees
    10. browser pages frequently take several minutes to load
    These are just some of the problems I have.
    These problems all go away and everything runs fine as soon as I stop the browser. If I start the browser, they immediately surface again. I've trying clearing the cache, etc with no improvements.
    What I would like to do is find a way to determine if the problem is in my Mac or with the Fairpoint service. Since I had no problems with Verizon and have made no changes to my Mac, I really suspect the problem lies with Fairpoint. Can anyone help me out? Thanks.

    1) Another thing that you could try it is deleting the preference files for networking. Mac OS will regenerate these files. You would then need to reconfigure your network settings.
    The list of files comes from Mac OS X 10.4.
    http://discussions.apple.com/message.jspa?messageID=8185915#8185915
    http://discussions.apple.com/message.jspa?messageID=10718694#10718694
    2) I think it is time to do a clean install of your system.
    3) It's either the software or an intermittent hardware problem.
    If money isn't an issue, I suggest an external harddrive for re-installing Mac OS.
    You need an external Firewire drive to boot a PowerPC Mac computer.
    I recommend you do a google search on any external harddrive you are looking at.
    I bought a low cost external drive enclosure. When I started having trouble with it, I did a google search and found a lot of complaints about the drive enclosure. I ended up buying a new drive enclosure. On my second go around, I decided to buy a drive enclosure with a good history of working with Macs. The chip set seems to be the key ingredient. The Oxford line of chips seems to be good. I got the Oxford 911.
    The latest the hard drive enclosures support the newer serial ata drives. The drive and closure that I list supports only older parallel ata.
    Has everything interface:
    FireWire 800/400 + USB2, + eSATA 'Quad Interface'
    save a little money interface:
    FireWire 400 + USB 2.0
    This web page lists both external harddrive types. You may need to scroll to the right to see both.
    http://eshop.macsales.com/shop/firewire/1394/USB/EliteAL/eSATAFW800_FW400USB
    Here is an external hd enclosure.
    http://eshop.macsales.com/item/Other%20World%20Computing/MEFW91UAL1K/
    Here is what one contributor recommended:
    http://discussions.apple.com/message.jspa?messageID=10452917#10452917
    Folks in these Mac forums recommend LaCie, OWC or G-Tech.
    Here is a list of recommended drives:
    http://discussions.apple.com/thread.jspa?messageID=5564509#5564509
    FireWire compared to USB. You will find that FireWire 400 is faster than USB 2.0 when used for a external harddrive connection.
    http://en.wikipedia.org/wiki/UniversalSerial_Bus#USB_compared_toFireWire
    http://www23.tomshardware.com/storageexternal.html

Maybe you are looking for