Adjusting chunk size for virtual harddisks

My data partition with VHD images is constantly run out of space. So I decided to repartition the drive in the next days. While doing that, I will redo most or all images files to sparsify the data inside the guest. There is one issue:
To reduce the amount of space needed on the host I want to reduce the "allocation chunk size" for (dynamically expanding/ sparse) virtual harddisks. Its my understanding that if a guest is writing to a filesystem block the host does actually allocate
more than the "guest block size". For example, if a guest ext3 filesystem has blocksize 4K and it writes to block #123, the host will not just allocate space for this singe 4K block at offset #123. It may allocate a much larger chunk in case the
guest attempts also to write ti #124. And so on.
A few months ago I read somewhere that this "allocation chunk size" can be adjusted. Either when the VHD image is created, or globally for all images. It was done with some powershell cmd AFAIK.
For my purpose I want to reduce it to a minimum, even if it comes with some performance cost.
How can this property be adjusted?
Thanks.
Olaf

Hi Olaf,
It seems that it is beyond my ability to explain this .
But I have read this article mentioned the effect between VHD and physical disk :
http://support.microsoft.com/kb/2515143
If I understand correctly , the physical disk and virtual disk only have two type of "sector" size (512 and 4K , vhd only support 512 )As for the "allocation chunk size" that you mentioned , I think it determined by different file system
(such as NTFS and ext3 ).
Maybe the powershell cmd you mentioned is " set-vhd " , it has a parameter " physicalsectorsizetype " only with two value 512 and 4096 .
For details please refer to the following link:
http://technet.microsoft.com/en-us/library/hh848561.aspx
Hope this hlepsBest 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.

Similar Messages

  • Large Block Chunk Size for LOB column

    Oracle 10.2.0.4:
    We have a table with 2 LOB columns. Avg blob size of one of the columns is 122K and the other column is 1K. so I am planning to move column with big blob size to 32K chunk size. Some of the questions I have is:
    1. Do I need to create a new tablespace with 32K block size and then create table with chunk size of 32K for that LOB column or just create a table with 32K chunk size on the existing tablespace which has 8K block size? What are the advantages or disadvatanges of one approach over other.
    2. Currently db_cache_size is set to "0", do I need to adjust some parameters for large chunk/block size?
    3. If I create a 32K chunk is that chunk shared with other rows? For eg: If I insert 2K block would 30K block be available for other rows? The following link says 30K will be a wasted space:
    [LOB performance|http://www.oracle.com/technology/products/database/application_development/pdf/lob_performance_guidelines.pdf]
    Below is the output of v$db_cache_advice:
    select
       size_for_estimate          c1,
       buffers_for_estimate       c2,
       estd_physical_read_factor  c3,
       estd_physical_reads        c4
    from
       v$db_cache_advice
    where
       name = 'DEFAULT'
    and
       block_size  = (SELECT value FROM V$PARAMETER
                       WHERE name = 'db_block_size')
    and
       advice_status = 'ON';
    C1     C2     C3     C4     
    2976     368094     1.2674     150044215     
    5952     736188     1.2187     144285802     
    8928     1104282     1.1708     138613622     
    11904     1472376     1.1299     133765577     
    14880     1840470     1.1055     130874818     
    17856     2208564     1.0727     126997426     
    20832     2576658     1.0443     123639740     
    23808     2944752     1.0293     121862048     
    26784     3312846     1.0152     120188605     
    29760     3680940     1.0007     118468561     
    29840     3690835     1     118389208     
    32736     4049034     0.9757     115507989     
    35712     4417128     0.93     110102568     
    38688     4785222     0.9062     107284008     
    41664     5153316     0.8956     106034369     
    44640     5521410     0.89     105369366     
    47616     5889504     0.8857     104854255     
    50592     6257598     0.8806     104258584     
    53568     6625692     0.8717     103198830     
    56544     6993786     0.8545     101157883     
    59520     7361880     0.8293     98180125     

    With only a 1K LOB you are going to want to use a 8K chunk size as per the reference in the thread above to the Oracle document on LOBs the chunk size is the allocation unit.
    Each LOB column has its own LOB table so each column can have its own LOB chunk size.
    The LOB data type is not known for being space efficient.
    There are major changes available on 11g with Secure Files being available to replace traditional LOBs now called Basic Files. The differences appear to be mostly in how the LOB data, segments, are managed by Oracle.
    HTH -- Mark D Powell --

  • Adjust font size for notes?

    is it possible to adjust the font size for the .txt file to be read in the 'notes' folder in 'my computer'. i have synced it to my ipod but becuase of is size and the way the info is portrayed the width is too narrow on ipod thus getting a 'spill' onto the next line. is there anyway to save it as it is in its original .txt file. thank you
    Alan

    In the text note include some html code. html (hypertext markup language) is what is used to display this web page.
    You can Google "html font size" to learn more about it.
    Create a text note.
    The very first line of the text note should be
    <font size =-1>
    This will make the font 1 size smaller (it's a minus 1). Make it a + (plus) sign to make it larger.
    Add the rest of your note.
    The last line of your text note should be
    </font>
    to return everything to normal.

  • Adjust Photo Size For Web Gallery

    I'm uploading a new Web Gallery as I type this....(although nothing appears to be happening at the moment...I decided against my first couple of efforts and deleted those galleries).
    I don't see a way to adjust the size of the photos uploaded to the Web Gallery. As each of the photos I'm uploading is approximately 3MB in size, I was hoping there might be an option to compress each of the photos prior to uploading. Am I missing it?
    In iPhoto Help, there's a topic for "Choosing the Appropriate Size For Your Photo". Apparently, this only refers to emailed photos, though?
    Any thoughts on this?

    Mike:
    Have you checked on the size of the files uploaded to the web gallery? They are resized to 800 x 600 pixels. If you select the option to have the full sized image downloaded then the max pixel dimension is 3054 pixels in any direction. If the are larger than than the get resized. Additionally the file is compressed. My 2.7 MB file was downsized to 750 KB.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Optimizing chunks size for filesending with NetStream.send() method

    Hi,
    I would like to implement a p2p filesending application. Unfortunately object replication is not the best solution for this so I need to implement it myself.
    The process is the following:
    Once the user has selected the file for sending, I load it to the memory. After it is completed I cut the file's data into chunks and send these chunks with the NetStream.send() method  - to get the progress of filesending -.
    How can I optimize the size of the chunks for the fastest filesending method or what is the best size for a chunk?

    Hi there
    Please submit a Wish Form to ask for some future version of Captivate to offer such a feature! (Link is in my sig)
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Increase disk size for virtual server

    Hi,
    A virtual server system drive is currently at 90%full. How to safely allocate more disk space to the system drive of that virtual server without causing issues to the installed Operating systems on that drive.
    I read through the Virtual Iron documentation and nothing mention about increasing disk space for virtual server.
    Thanks in advance for response.

    Hi,
    I was hoping to increase the virtual storage of the drive attached to virtual servers and not the actually physical storage.
    I was looking around in it and found was able to increase the disk space by by editing the virtual storage disk.
    I tested creating a new disk (5GB), increase the disk space(10GB) and login to virtual server and extend the new disk with the unallocated disk space.
    It does seem to work and appear as 15GB.
    I just concern if windows operating is installed on that disk, will it cause any issue if I extend it with the unallocated disk space?
    Or it's safe to do so?
    Many thanks.

  • Adjusting frame size for drop zones

    I posted this question in the Final Cut Forum, but I thought this might be a good place to ask as well.
    I exported a wide screen movie out of fce and plopped it on a drop zone on the main theme page in iDVD. The movie has that black band at the top like like it would if it was being played as a wide screen movie on your tv. It there a setting I can adjust to make that movie completely that drop zone?
    Thank you,
    Scott

    I wish I had good news for you but I do not. I've been working for the last hour trying to find a solution for you and I cannot within iDvd alone. This particular theme is highly limited on my own system as well.
    I'm wondering if there might be a way to resize the movie in QT Pro but it will take me considerably more time to find this type of solution for a movie as opposed to a still image.
    I won't have a solution for you today but I will keep this in mind.

  • Adjust page size dynamically ?

    Hi,
    i have a page with 2 iView created from PAR (URL isolation mode), i need the page to dynamically adjust the size to fit with the size of both iView together.
    At this point i set the height type to automatic, but when the iView reached its maximum page height. Then it comes two scroll bars in pararell one in each iView and another one in Page.
    how can i dynamically adjust iFrame sizes for both iView?? i heard that i can be done with javascript??
    Thanks in advance

    Hi Matt,
    check out this blog..might b helpful
    Avoiding scrollbar problems in URL iViews
    regadrs
    Amit
    P.S. reward points if helpful

  • What is block size for dma transfers? Can it be set?

    Can't find Application Note 011, "DMA Fundamental on Various PC Platforms" on the NI website.
    Can someone please send me the link?
    What I'm trying to figure out is what is the packet size (chunk size) for DMA transfers on NI M series boards?
    i.e. how many samples are collected into the boards FIFO buffer before
    DMA transfer takes place.  (How many samples (or bytes) are
    transferred at a time?)
    Is this packet size (chunk size) configurable?  If so , what is minimum value that it can take on?
    Thanks,
    Maurice

    See post at http://forums.ni.com/ni/board/message?board.id=170&message.id=162527.

  • Minimum block size for DMA transfers

    Can't find Application Note 011, "DMA Fundamental on Various PC Platforms" on the NI website.
    Can someone please send me the link?
    What I'm trying to figure out is what is the packet size (chunk size) for DMA transfers on NI M series boards?
    i.e. how many samples are collected into the boards FIFO buffer before
    DMA transfer takes place.  (How many samples (or bytes) are
    transferred at a time.
    Is this packet size (chunk size) configurable?  If so , what is minimum value that it can take on?
    Thanks,
    Maurice

    See post at http://forums.ni.com/ni/board/message?board.id=170&message.id=162527.

  • Varying sizes for text fields

    I have multiple text fields on my form.  However, when I adjust the size for one, they all adjust also.  How do I stop this since I want teh text boxes to be different sizes?

    Are you asking about the FormsCentral designer or are you working with fields in Acrobat?

  • Can I re-adjust the size of the disk for my virtual environment?

    I installed the vmware fusion and run windows xp.. I want to re-adjust my hard disk. So far 320G disk, half for mac and half for windows. can I adjust this size, e.g. expand the size for mac? if yes, how to do that?

    james dai wrote:
    I installed the vmware fusion and run windows xp.. I want to re-adjust my hard disk. So far 320G disk, half for mac and half for windows. can I adjust this size, e.g. expand the size for mac? if yes, how to do that?
    One advantage, or disadvantage, depending on how you look at it is that a virtual machine like Fusion does not partition your hard drive. It virtualizes your Windows drive by creating a file to act as your Windows drive. So all your hard drive is still OSx.
    In your Virtual window click on Virtual Machine > Settings >Hard Disks then slide the slider to the size you want to make the virtual space (the space used by XP). This action just changes the size of the file holding the virtual machine. It does not do any re-partitioning.
    Edit:
    It looks as though rkaufmann87 beat me to it while I was typing. I'll have to learn to type faster.
    Message was edited by: BobTheFisherman

  • I can't adjust the size of a picture for wallpaper.

    I know how to adjust a picture to add as wallpaper or for my lock screen.  However, when I pinch the corners to make my picture small, it just goes back to the same size.  I tried cropping the picture to make it smaller and that does not help either.  I was able to adjust the size before I upgraded to IOS7 so I am aware of how to do it and how it works.  Any ideas?

    dogtrachs, I thought I had a problem also. I ask the same question over on the AT&T forum. I was told to use two fingers. That solved the problem for me. I hope this helps.
    Friends, John

  • Changing screen size for screen sharing

    Is there a way to change the screen size for screen sharing?
    I have a 13" macbook and a G5 with a 20" monitor. When I use RDC to a PC it automatically adjusts to use the full screen on the G5 and when I use VNC to a linux system I can create a vncserver with any arbitrary geometry that I want, but when I use screen sharing all I seem to be able to get is a 13" screen. I can use JollysFast VNC, and view it full-screen, but it's still just 1280x800.
    So, is there anyway to create a virtual window so that I can take better advantage the screen on my G5 when screen sharing to my macbook?
    Thanks,
    Rob

    Well, the question should really have been, "What is the ideal page width for the iPad?".
    The answer is that there isn't one since the iPad, like most portable devices, has two screen widths depending on whether its used in portrait or landscape mode.
    If you are designing a layout specifically for the iPad, one solution is to use a folding design where the sidebar folds down to the bottom in portrait and jumps back up to the side in landscape. This will only work for personal computers and iPads.
    The popular way of designing a layout to suit a large range of portable devices is to use a liquid, or semi liquid, layout that will automatically adjust to the fixed width browsers used on these devices.
    Something like this...
    Neither of these methods are possible using a template based editor like iWeb and this is probably one of the main reasons that Apple has given up on the application. Surfing the internet on mobile devices is growing daily and its now become essential to have a mobile version of your website or one that can be viewed on all devices.

  • Why FlowLayout - JPane will NOT auto adjust in size?

    Hello java friends,
    I don't understand why my little demo program's JPane(use FlowLayout manager) will not adjust the size correctly. When run, I see one row of buttons, which only show 11 of them; the rest are shown on secon row which only visible if I go resize the window. Why is that? Wouldn't FlowLayout manager will auto size the pane? My main frame used the pack() method, so it's up to the pane's preferredsize. Please give me some ideas. Thanks.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Template {
        public static void main(String[] args) {
             JFrame mainFrame =new JFrame("Template");
            mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            mainFrame.setContentPane(new TemplatePane());
            //Display the window.
            mainFrame.pack();
            mainFrame.setVisible(true);
    class TemplatePane extends JPanel
              implements ActionListener {
         JButton componentAry[] =new JButton[100];
         TemplatePane() {
              this.setLayout(new FlowLayout());
              for(int i=0; i<componentAry.length; i++) {
                   componentAry[i] =new JButton("Test#"+i);
                   componentAry.addActionListener(this);
                   this.add(componentAry[i]);
         public void actionPerformed(ActionEvent ae) {
              System.out.println(ae.getActionCommand());

    I did read the API doc:
    >>>>
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. Flow layouts are typically used to arrange buttons in a panel. It will arrange buttons left to right until no more buttons fit on the same line. Each line is centered.
    >>>>
    My question is why won't it adjust the pane size if the there is more than one line? It did draw the second line for things that won't fit in the first line... just not visible unless the whole window is resized to a bigger view. Can you please provide an explanation?

Maybe you are looking for