Memory/Speed of Split 1D array vs Delete from array

Just wondering how Split 1D array works - does it create two new arrays in a new section of memory or does it just split the existing array in two, reusing the memory in place. (assuming that the original array is not needed elsewhere). If the latter is the case then presumably it is more efficient to use split array than delete from array if I want to remove element(s) from the beginning or end of the array. Is there a speed advantage as well?
If I use split array but don't then use one of the output arrays is that memory deallocated or does the array remain in memory?
Thanks
Dave

Ok please ignore the results I posted earlier, they are rubbish - not least because I got the column headings mixed up but also because my code was full of bugs
So, here is a revised table, and the code - which hopefully only contains a few bugs... I'm not clued into benchmarking yet so please feel free to rip the code apart.
I still get different results depending on where in the array I split it, most noticeably with subset and reshape. There is no effect with split. I'm guessing this is to do with the memory allocation. (I have not preallocated memory in my code, but I did wire the output arrays to Index Array)
Message Edited by DavidU on 08-12-2008 04:49 PM
Attachments:
Benchmarks 2.png ‏13 KB
split array test.vi ‏25 KB

Similar Messages

  • Deletion of arrays during specific time intervals...how to get it working?

    i am trying to calculate the average peak values in a systolic pressure waveform during a specific time interval. for example, every 5 seconds, i want to average out all the peak values in that interval and after calculating the average, i want to delete the array of peak values. however, what i am finding is that the array is always 0 if i use the delete array in my vi. therefore, the average is always NaN, because the array is empty and there is a divide by 0 error....
    what should i do? i have been stuck on it for a long time now, thankyou very much"
    Attachments:
    help.vi ‏57 KB

    It is very difficult to make sense of your diagram, because all the control references are missing, so it is not possible to tell the various data sources apart.
    Where is the data coming from? How do you prevent race conditions between the acquisition and analysis parts?
    Overall, the diagram is overly complicated and very hard to read. For example clearing the array does not require reading the old array, measuring it's length, followed by "delete from array", followed by writing back to the array. Why don't you just wire an empty array to it? Same result! :-)
    You go to tremedous lenght calculating a simple array average, using numerous property reads and indexing arrays inside FOR loops. There is "mean.vi" that does it in one step. (If you only
    have base LabVIEW, it might not be available (?), so use "Sum" and divide by n. No loop needed). To find the largest element in an array, use "Array Max & Min" from the array palette, again in one simple step.
    I would highly recommend going over some LabVIEW tutorials or look at some of the shipped examples. Make yourself familiar with basic programming concepts such as auto-indexing at loop boundaries. An "index array" wired to the loop counter is never needed.
    I suspect that your problem is due to a race condition between acquisition and analysis code, but there is no way to tell unless you include all control references and also the companion VI that gets the raw data from the instrument.
    LabVIEW Champion . Do more with less code and in less time .

  • Remove Entry from Array

    Hi,just another question. Is it possible to remove an entry inside an Array without splitting up by using SubSet und with a combine after that? I found no function for that way...RegardsHenrik

    Henrik Skupin wrote:
    > Hi,
    >
    > just another question. Is it possible to remove an entry inside an
    > Array without splitting up by using SubSet und with a combine after
    > that? I found no function for that way...
    The new LabVIEW 6i has a "Delete from Array" VI that will do this more
    elegantly.
    Regards,
    John Lum

  • What can I delete from what folders to A) get more space and B) speed up machine.  2009 Imac Intel based Leopard

    What can I delete from what folders to A) get more space and B) speed up machine.  2009 Imac Intel based Leopard

    If you start deleting things in hidden system folders, or in an /Library folder you may very well mess up something.
    That is why I say limit what you delete to your User folder only and only those files you've put or created there.  Start messing with anything system or application related without know exactly what you are doing and you risk fubar'ing something.
    There are in fact many places in the system areas that will appear to be redundant, but they are not so just because they have similar path or file names.
    Also, how much free space do you have with just a freshly rebooted system?  If your system does not have much RAM (given the apps your normally run on it), it may be creating quite a bit of swap space.  That will be flushed out with a reboot, but if your system is RAM limited, then it will just grow back.  In such a case, more RAM would help.
    Use Activity Monitor to look at your RAM and swap use over a few days of normal use - look particularly at the page outs, as that will tell you how much virtual memory is actually being used on the drive.  If page outs are high (thousands to 10's of thousands or more) your system is RAM limited, and your drive will be filling up with swap files.

  • My iPad is double downloading iTunes TV series shows and when I delete, the extra show does not delete from the available memory.  I have lost almost 30GB of my 64 to this phantom shows.

    I am losing available memory on my iPad (64 GB 3rd gen) and it appears to lose memory because some TV shows that I have downloaded from iTunes are appearing twice in my downloads.  Both download, but when Only appear as 1 show on my "videos".  After viewing the show, I delete, but the duplicate show appears to be still there somewhere (not visible anywhere) taking up the same amount of memory that showed before downloading.  It reduces my available memory to download other shows.  The general settings do not show any of these phantom shows taking any memory, but the total available is much, much less than what is showing for all usage such as music, videos, photos, apps, etc
    Is it possible to delete a show from the download portion of iTunes if you have already seen a show and do not want to waste time or memory downloading again?  The only way that I know is to let it download completely and the delete from "Videos".

    John0618. Did you ever get a response or solution to problem?  I have the same problem (starting about three months ago). 

  • Mixing Memory Speeds

    Apologies, wrong thread, please ignore.
    Message was edited by: Rhys Bethell

    Hi Rhys,
    i think what you are talking about is mixing memory size, not speed. You can not mix memory speeds, especially in Macs.
    You can mix memory size in most Macs. Very few Macs use memory interleaving that requires exactly the same size memory modules to work best. The iMacs allow mixing size with no impact on performance.
    Go ahead, Crucial is very good with Macs and can be trusted.
    Also very good is Other World Computing (OWC).
    Ralph

  • A505 S6033 / Memory Speed Mixing

    Good Day,
    I have a Satellite A505-S6033 i7 720QM @ 1.6GHz Part Number: PSAT9U-006002 OS/Win7 Ultimate HDD/500GB Memory/6GB [Originally 4GB (DDR3-1066/PC3-8500) only].
    I removed one 2GB(DDR3-1066/PC3-8500) memory in the 2nd slot and upgraded the memory with a 4GB(DDR3-1333/PC3-10600) and it is working normally. But I noticed the fan is now running intermittently or continuously even if I am not playing games or using applications with high memory usage.
    Is mixing a higher memory speed going to cause the fan to run intermittently or continuously to prevent overheating, freezing or auto shut down problems?
    Thanks in advance for any advice to my query.

    Been doing some more testing and playing around with the A505 and confirmed that my netbook with an Intel® Atom™ Processor N4501 (1.66GHz, 677MHz FSB, 512KB L2 Cache) responds faster in many situations such as start button load time, explorer populating the folder list and things of the like.
    So i'm confused about the 1.6GHz A505 vs. 1.66GHz netbook. Are they in fact equal for typical tasks? I guess I was expecting something outrageous with the A505 and I too was mistaken by the 2.8GHz in the ad. 
    I have til thurs before my 14 day return is up. Wondering if a faster i3 processor like 2.12GHz would be quicker or an i5 without the turbo boost. I dont game.
    Satellite A505-S6033 [PSAT9U-006002] Intel® Core™ i7-720QM
    6MB L3 cache / 1.6GHz - 2.8GHz / 64-bit Windows 7 Home Premium [BIOS 1.30, 04/14/2010]

  • Memory speed of fx 5200 cards

    I can't find out detailed spec of MSI's fx 5200 cards:
    - does any of these have 64-bit memory interface (as some 5200 cards do)?
    - what is speed of cpu and memory
    For instance, what's difference between FX5200-TD64 and FX5200-T64? First one has dvi out, cooler fan and larger board, but that's not what interests me - I would like to know differences in cpu and memory speeds.
    Some benchmark numbers would be nice too, at least 3D Mark 2001.

    I'm looking for budget card and I know what I can expect from that. You're right, memory speeds are not crucial here.
    However, some fx 5200 have 64-bit memory interface (I know for some Gainward cards) which makes HUGE difference, even for low budget cards. Difference is something like 3500 vs 7000 points in 3D Mark 2001.
    I would be satisfied with normal 5200 performance (I'm upgrading from MX400), but not with cripled one (64-bit), and I don't know whether FX5200-TD64 and FX5200-T64 have 64 or 128 bit memory bus.
    Regards,
    Dejan

  • Memory speed - Equium A200 PSAF5E

    Hi all,
    I own a Toshiba Equium A200 - 1V0
    Model no. PSAF5E - 001003sp
    Bios version updated to v. 2.50
    Everest Ultimate 4.5.1330 says that I have 2GB of RAM, in two sticks of Samsumg DDR2-667. Also it says too that my FSB is 133Mhz with correct CPU speed and multipier.
    The problem comes with memory speed. It shows DDR2-667 capable sticks and chipset, but DRAM:FSB ratio is set to 8:4 resulting in DDR2-533, in any energy profile. The system operates in dual-channel 128bit configuration, so I'm losing 2144 MB/sec of transfer speed.
    The chipset is identified as an Intel Crestline GML GL960, Everest and Toshiba website show it as DDR2-667 capable, Intel website claims about DDR2-533.
    Link:[http://uk.computers.toshiba-europe.com/innovation/jsp/SUPPORTSECTION/discontinuedProductPage.do?service=UK&com.broadvis ion.session.new=Yes&PRODUCT_ID=138201]
    Link:[http://www.intel.com/products/notebook/chipsets/gl960/gl960-overview.htm]
    I haven't found any motherboard info or manual, so here are my questions:
    - Is this speed normal or may I expect the DDR2-667 mode with this system?
    - Is the dual-channel mode decreasing memory speed?
    - If I re-install memory modules one by one and changing the position, Could it reset the speed values of the system?
    - Can I access to any hidden BIOS settings to tweak the memory? (I have a Medion system that has a hidden and password protected BIOS mode accessible through F11 instead of F2 where I can find lots of options not shown in normal F2 BIOS)
    - Any more ideas?
    Many thanks in advance. Any help would be much apreciated.

    Hi HiperGrover,
    As PauPau wrote, the limited FSB is 533 MHz and that means the memory modules will run at this speed. Furthermore DDR2-667 modules can be used properly but they run only with lower speed.
    So don be worry about this, everything is ok with your notebook.
    Last but not least in BIOS there are no options about tweaking the modules and such options will not bring a strong performance boost but they could make your computer unstable.

  • Memory speed 5900 XT

    Why I can't overclock the memory clock of my GFX 5900XT at more than 740Mhz...
    When the card memory is set at more than 740Mhz some triangles appear in the screen while 3Dmark 03 or some games are running.
    What i need.... a better power supply or something else? or this is the higher memory speed of this card.

    Well it's likely not the power supply. It's likely to be heat or more likely to be a limitation of the actual RAM or GPU.
    It's just like overclocking a CPU, no two are alike, some overclock better than others depending on the yield during production.
    Check to make sure you have good case airflow, also check the heatsink (if you are comfortable with delicate equipment) and make sure there is enough thermal paste on the GPU consider getting RAM sinks.
    You could try pointing a house fan directly at the card with the side cover of the case removed and see if that improves anything. If you notice, you get a little farther, then you know it's heat related.
    I would try that to determing if it's heat before you spend money on a power supply. However, it's always a good investment to have a better power supply as it's what powers your rig and can also kill it if it's not of good quality or pushed too far.

  • Memory Speed loss with CPU upgrade 2.6 - 3.0

    I have a n 875P Neo board with 2 banks 512m DDR400  
    I have just upgraded my cpu from 2.6G (800 FSB)  to 3.0G (800FSB)
    My BIOS is ver 1.8 (8/9/ 2003)
    I have found that my memory speed timings have dropped by 30% since the upgrade.   Will I get better results if I update my bios to ver 2.0  (the latest bios)??
    Sysoft Sandra Memory Benchmark shows to memory timings to be about 25% lower than expected
    Can anyone help??
    Thanks
    M Miller

    The 875P Neo and 865PE Neo2 boards are kissing cousins   They have a lot in common.
    It would help if you create a signature and put all your hardware information in it. Things like what type of video card and what type of ram all have an impact on what performance modes you can operate under. See the Rules at the top for what to include and how to do it.
    You should also read  P4 Neo Unofficial Guide and  Moan Guide.

  • Memory speed in CCC

    hi, i have 2x msi r4870x2 cards in crossfire.
    what im wondering is that in CCC it says that the memory speed is at 900mhz but in the spec for the card its way higher.
    is everything as it should or is there anything i should do to make the cards go at spec speed?
    dont like fiddeling to much since i dont wanna ruin anything

    That's suppose to be 900MHz means 3600 effective, since memory used is GDDR5, which works at ratio 1:4{not 1:2 like any prevision till now}, R4870X2-T2D2G-OC:
    Take for example R4870-T2D512-OC which also use GDDR5, but its single card{not X2 like yours}, rated mem. freq. is 4000, but real one is 1000MHz.  http://global.msi.com.tw/index.php?func=prodvgaspec&maincat_no=130&cat2_no=137&cat3_no=&prod_no=1509#menu

  • Memory Speed (MHz) missing in 'About This Mac'

    Hi
    I'm using a Macbook Pro with 10.4.9 and all updates and I recently noticed that the memory speed is missing in the 'About This Mac' window.
    It's saying: Memory 1GB 0 MHz RAM.
    Am I the only one with this problem or is this a bug?

    Please search the discussions before posting, as this topic has already been covered:
    http://discussions.apple.com/thread.jspa?messageID=4489699

  • Memory Speed Wrong In Cpu-z I have ddr533

    Sorry for the double post didnt mean to do that
    WELL I finally got my better memory to see how far I can push my prescott but only thing is my memory speed is showing up as pc3200 in cpu-z I am running in dual channel and yes I do have one in each slot (1 and 3). Can any one help on this issuse and what setting do I set it to in the bios auto?any help would be great. and what would be good timings for this memory.

    UnderTheSun,
    I can run 3-4-3-7 with SPD set manually with PAT=normal(Disable) and read the same on CPUZ using Bios 3.6, are you always get 3-4-4-8 wiht SPD setting manually?
    I dont have this problem with FSB above 250 mHz (testing with CC I can reach FSB 261 mHz)
    On what FSB did you have CAS set to 2.5 on Bios, since even I set it manually on bios with CAS value 2.5 the CPUZ is always read 3 with PAT=normal(disable).
    Funny thing with this mobo CAS value always set to 2.5 if I turn PAT=Fast (Fast, Turbo and Ultra Turbo always have the same memory speed using memtest86+) and the bad things is I loose the CAS value 3 in Bios so I need to reflash the bios.
    I cannot change the CAS value to 2.5 with this mobo as shown on the following link,
    http://www.anandtech.com/memory/showdoc.html?i=1867
    I would like to try OCZ PC3700 Rev.2 EL Gold Edition which in my opinion working best with this 'P' series regarding DOT and manual OCing as shown in the following link,
    http://www.anandtech.com/memory/showdoc.html?i=1940
    According to OCZ office this DDR is discontinued so I need to find it on the online store and hope can get it.
    So finally I think we need to wait for the newer bios of the 'P' series.
    Casing Tt Xaser III Skull
    M/B 865 PE Neo-2 PFS Platinum Edition Bios Ver.3.6
    CPU:P4 2.4C (HT enable) and ThermalTake SubZero 4G
    (DOT Rank=Commander,Normal,2395 mHz - 2760 mHz) The PAT/MAT using Bios 3.6 doesn't perform properly.
    Memory: Corsair Twinx XMS 4000 pro 2x512 meg (dual-channel dimm 1 and 3).
    VGA:WInFAst A360 Ultra TDH(FX 5700 with 128 meg DDRII)
    HD:2 SATA Maxtor 80gig and 1 ATA Maxtor 80Gig
    CD/RW Yamaha and Pioneer DVD
    PSU:ThermalTake Silent PurePower 480W (W0010/Black)
    +5 V/40 A, +3.3 V/30 A, +12 V/18 A, -5 V/0.3 A, -12 V/0.8 A, +5 VSB/2 A Peak Load 550 W
    Window XP PRO SP1
    NEC FP2141SB
    Microsoft DesktopPro
    Sound Blaster Audigy 2 Platinum + Klipsch Promedia 4.1

  • Memory speed problems?

    don't know if anyone else has experienced this but let me know if you have and if there is a way to fix it. So I am running XP Pro from Boot Camp 1.4. I test my Windows performance with PC Pitstop. When I was running Vista on 1.3 I tested and the memory speed was 8230 MB/s, very good. Now when I running XP with 1.4, my memory speed has dropped to 3300 MB/s. Does anyone know a different speed test for XP.
    Also is there a speed test for OS X?
    And there seems to be a lag sometimes in response. I will sit down to use XP and it will take a minute of sitting there before I get "dings" and responses to input.
    It seems that there might be a problem with the defrag also because even when the drive has just been defraged, it still gives me a defrag warning. Any help on this would be much appreciated.

    After looking into this a little more, it seems that the transfer rate I am getting for my memory is consistant with DDR2-3200 RAM which runs at DDR2-400 speeds. Does this mean that the memory is not as fast as it could be. Do they make DDR2-667 modules?

Maybe you are looking for

  • My iphone 5 is eating all my data on ATT

    I bout a new iPhone 5, and it has been eating up all my data. I have all my apps on a manual fetch. I am on wifi all the time My usage history shows huge amounts of data sent from my phone at midnight every day .. like 100 to 200 MB. What should I do

  • Calling workflow from java(1.4)

    Hi All, I have a scenario in which the request status comes from outside SUN IDM (7.1) and is forwarded to IDM via a Java class which in turn calls the related On Hold workflow. The code has a bug as it calls all the workflows while trying to isolate

  • Scan listener is NOT starting up

    Hi, I have installed 11gR2 two node RAC on OEL5.2, 64 bit. When ever I start the node, in one of the node SCAN listener will NOT be running. If I start the node one first then scan listener will run on node, if I start second node first then scan wil

  • Music is missing in iTunes.  HELP!

    I came to work yesterday, opened iTunes and all of my music is gone.  I've rebooted, searched everywhere and it's nowhere to be found.  HELP!!

  • Fireworks CS3 full of bugs

    Fireworks CS3 has potential. But it keeps crashing on me. It said internal error, when I was changing fonts. I was unable to save it. Tried it again, and could not reduplicate the error. Though I did have Word open the previous time. Then I tried to