![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | VMs, defragmentation and undo disks Hi, I would like to test my ideas, if they are wrong.. I think defragmentation does not give so much gain as for real machines, if VD is small, compared to physical one. But it is still worthy to do it, at least plain file defragmentation. I think, if one uses undo disk on VPC, defragmentation could cause excessive work for later disk merging. Therefore it is good to postpone defragmentation until undo disk is merged, then cancel undo seeting launch VM and perform defragmentation. Am I right ? -- Poutnik |
My System Specs![]() |
| | #2 (permalink) |
| | Re: VMs, defragmentation and undo disks >Am I right ? Pretty much. The only thing I'd add is that defragmenting a dynamic disk is not a good idea, even if you don't have undo disks enabled. It has the potential to balloon the size up quite a bit. If it really gets heavily fragmented, then you should go through the procedure for compacting the disk rather than just defragmenting it. -- Bob Comer On Tue, 3 Feb 2009 08:20:40 +0100, Poutnik <poutnikletspamisoutofabox@xxxxxx> wrote: Quote: > >Hi, > >I would like to test my ideas, if they are wrong.. > >I think defragmentation does not give so much gain >as for real machines, if VD is small, compared to physical one. >But it is still worthy to do it, at least plain file defragmentation. > >I think, if one uses undo disk on VPC, >defragmentation could cause excessive work >for later disk merging. >Therefore it is good to postpone defragmentation >until undo disk is merged, then cancel undo seeting >launch VM and perform defragmentation. > >Am I right ? |
My System Specs![]() |
| | #3 (permalink) |
| | Re: VMs, defragmentation and undo disks In article <0dcgo4thjn8gm93klk1e9cr6fkpkj8j1d7@xxxxxx>, bobcomer- removeme-@xxxxxx says... Quote: > Quote: > >Am I right ? > Pretty much. The only thing I'd add is that defragmenting a dynamic > disk is not a good idea, even if you don't have undo disks enabled. It > has the potential to balloon the size up quite a bit. If it really > gets heavily fragmented, then you should go through the procedure for > compacting the disk rather than just defragmenting it. it compacts well in reasonable time. -- Poutnik |
My System Specs![]() |
| | #4 (permalink) |
| | Re: VMs, defragmentation and undo disks On Tue, 3 Feb 2009 17:09:45 +0100, Poutnik <poutnikletspamisoutofabox@xxxxxx> wrote: Quote: >In article <0dcgo4thjn8gm93klk1e9cr6fkpkj8j1d7@xxxxxx>, bobcomer- >removeme-@xxxxxx says... Quote: >> Quote: >> >Am I right ? >> Pretty much. The only thing I'd add is that defragmenting a dynamic >> disk is not a good idea, even if you don't have undo disks enabled. It >> has the potential to balloon the size up quite a bit. If it really >> gets heavily fragmented, then you should go through the procedure for >> compacting the disk rather than just defragmenting it. >I would use favorite JKDefrag with default settings, >it compacts well in reasonable time. are additional steps to take to compact the actual VHD file. Defrag, precompact, compact. -- Cheers, Steve Jain, Virtual Machine MVP http://vpc.essjae.com/ |
My System Specs![]() |
| | #5 (permalink) |
| | Re: VMs, defragmentation and undo disks In article <dg0ho41jvvrqn7786ah99ng1sbtqa7uc3g@xxxxxx>, noreply.- @-.essjae.com says... Quote: > Quote: > > > >I would use favorite JKDefrag with default settings, > >it compacts well in reasonable time. > But, you would still need to compact the VHD. After you defrag, there > are additional steps to take to compact the actual VHD file. Defrag, > precompact, compact. I have obviously missed something, supposing dynamic disk would shrinking if compacted by defrag. -- Poutnik |
My System Specs![]() |
| | #6 (permalink) |
| | Re: VMs, defragmentation and undo disks On Tue, 3 Feb 2009 19:45:53 +0100, Poutnik <poutnikletspamisoutofabox@xxxxxx> wrote: Quote: >In article <dg0ho41jvvrqn7786ah99ng1sbtqa7uc3g@xxxxxx>, noreply.- >@-.essjae.com says... Quote: >> Quote: >> > >> >I would use favorite JKDefrag with default settings, >> >it compacts well in reasonable time. >> But, you would still need to compact the VHD. After you defrag, there >> are additional steps to take to compact the actual VHD file. Defrag, >> precompact, compact. >Hm, interesting pointing out. > >I have obviously missed something, supposing dynamic disk >would shrinking if compacted by defrag. size of the VHD file on the host, in some cases it can increase it. After you defrag it, you need to zero out the empty space (tool is included with VPC), and then compact it via the Virtual Disk Wizard in VPC) -- Cheers, Steve Jain, Virtual Machine MVP http://vpc.essjae.com/ |
My System Specs![]() |
| | #7 (permalink) |
| | Re: VMs, defragmentation and undo disks Steve Jain [MVP] wrote: Quote: > On Tue, 3 Feb 2009 19:45:53 +0100, Poutnik > <poutnikletspamisoutofabox@xxxxxx> wrote: > Quote: >>In article <dg0ho41jvvrqn7786ah99ng1sbtqa7uc3g@xxxxxx>, noreply.- >>@-.essjae.com says... Quote: >>> >>> > >>> >I would use favorite JKDefrag with default settings, >>> >it compacts well in reasonable time. >>> >>> But, you would still need to compact the VHD. After you defrag, there >>> are additional steps to take to compact the actual VHD file. Defrag, >>> precompact, compact. >>Hm, interesting pointing out. >> >>I have obviously missed something, supposing dynamic disk >>would shrinking if compacted by defrag. > it's a common misconception. Defragging won't decrease the actual > size of the VHD file on the host, in some cases it can increase it. > After you defrag it, you need to zero out the empty space (tool is > included with VPC), and then compact it via the Virtual Disk Wizard in > VPC) -- ..NET: It's About Trust! http://vfred.mvps.org |
My System Specs![]() |
| | #8 (permalink) |
| | Re: VMs, defragmentation and undo disks In article <O1rBVijhJHA.5732@xxxxxx>, karl@xxxxxx says... Quote: > > Steve Jain [MVP] wrote: Quote: > > On Tue, 3 Feb 2009 19:45:53 +0100, Poutnik > > <poutnikletspamisoutofabox@xxxxxx> wrote: > > > > > > it's a common misconception. Defragging won't decrease the actual > > size of the VHD file on the host, in some cases it can increase it. > > After you defrag it, you need to zero out the empty space (tool is > > included with VPC), and then compact it via the Virtual Disk Wizard in > > VPC) > Do you prefer that to sdelete? when topic came to free space zeroing.... -- Poutnik |
My System Specs![]() |
| | #9 (permalink) |
| | Re: VMs, defragmentation and undo disks Poutnik wrote: Quote: Quote: Quote: >> > it's a common misconception. Defragging won't decrease the actual >> > size of the VHD file on the host, in some cases it can increase it. >> > After you defrag it, you need to zero out the empty space (tool is >> > included with VPC), and then compact it via the Virtual Disk Wizard in >> > VPC) >> Do you prefer that to sdelete? > Well, sdelete was in the first place I was thinking about, > when topic came to free space zeroing.... attention until it's done. -- ..NET: It's About Trust! http://vfred.mvps.org |
My System Specs![]() |
| | #10 (permalink) |
| | Re: VMs, defragmentation and undo disks In article <OxljPYlhJHA.1172@xxxxxx>, karl@xxxxxx says... Quote: > Quote: > > > > Well, sdelete was in the first place I was thinking about, > > when topic came to free space zeroing.... > I like that I can script the defrag/sdelete sequence so I don't have to pay > attention until it's done. that sdelete is not useful for that, "writing 00, than FF, then random" -- Poutnik |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Undo Disks performance hit or boost ? | Virtual PC | |||
| closing, discarding, saving, undo disks, oh my... | Virtual PC | |||
| Defragmentation of 2 HD. | Vista performance & maintenance | |||
| Defragmentation | Vista General | |||
| Defragmentation | Vista performance & maintenance | |||