Recent Virtual PC posts* * * * * * * * * * * * * * * * * * * *
|
Add Solution
Latest Topics
Post Reply |
This is Spam! | Mark as Spam
VMs, defragmentation and undo disksSource: microsoft.public.virtualpc Sent: 02/03/2009 From: Poutnik <(email address - cut out)> Message:
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
Post Reply |
This is Spam! | Mark as Spam
Related Messages
Sent: 02/03/2009 From: Robert Comer <(email address - cut out)> Message:>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
<(email address - cut out)> wrote:
Show quoted text >
>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 ?
Sent: 02/03/2009 From: "Steve Jain [MVP]" <(email address - cut out)> Message:On Tue, 3 Feb 2009 17:09:45 +0100, Poutnik
<(email address - cut out)> wrote:
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.
--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
Show quoted text >In article <(email address - cut out)>, bobcomer-
>(email address - cut out) says...
>>
>> >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.
Sent: 02/03/2009 From: "Steve Jain [MVP]" <(email address - cut out)> Message:On Tue, 3 Feb 2009 19:45:53 +0100, Poutnik
<(email address - cut out)> 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)
--
Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
Show quoted text >In article <(email address - cut out)>, noreply.-
>@-.essjae.com says...
>>
>> >
>> >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.
Sent: 02/03/2009 From: "Karl E. Peterson" <(email address - cut out)> Message:Steve Jain [MVP] wrote:
Do you prefer that to sdelete?
--
..NET: It's About Trust!
http://vfred.mvps.org
Show quoted text > On Tue, 3 Feb 2009 19:45:53 +0100, Poutnik
> <(email address - cut out)> wrote:
>
>>In article <(email address - cut out)>, noreply.-
>>@-.essjae.com says...
>>>
>>> >
>>> >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)
Sent: 02/03/2009 From: "Karl E. Peterson" <(email address - cut out)> Message:Poutnik wrote:
I like that I can script the defrag/sdelete sequence so I don't have to pay
attention until it's done.
--
..NET: It's About Trust!
http://vfred.mvps.org
Show quoted text >> > 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....
Sent: 02/03/2009 From: Poutnik <(email address - cut out)> Message:In article <(email address - cut out)>, bobcomer-
(email address - cut out) says...
I would use favorite JKDefrag with default settings,
it compacts well in reasonable time.
--
Poutnik
Show quoted text >
> >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.
Sent: 02/03/2009 From: Poutnik <(email address - cut out)> Message:In article <(email address - cut out)>, noreply.-
@-.essjae.com says...
Hm, interesting pointing out.
I have obviously missed something, supposing dynamic disk
would shrinking if compacted by defrag.
--
Poutnik
Show quoted text >
> >
> >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.
Sent: 02/03/2009 From: Poutnik <(email address - cut out)> Message:In article <(email address - cut out)>, (email address - cut out)
says...
Well, sdelete was in the first place I was thinking about,
when topic came to free space zeroing....
--
Poutnik
Show quoted text >
> Steve Jain [MVP] wrote:
> > On Tue, 3 Feb 2009 19:45:53 +0100, Poutnik
> > <(email address - cut out)> 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?
Sent: 02/04/2009 From: Poutnik <(email address - cut out)> Message:In article <(email address - cut out)>, (email address - cut out)
says...
There was said in web - found yesterday, but I lost link,
that sdelete is not useful for that, "writing 00, than FF, then random"
--
Poutnik
Show quoted text >
> >
> > 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.
Post Reply |
This is Spam! | Mark as Spam
Other groups
|