© J.C. Kessels 2009
MyDefrag Forum
May 18, 2013, 07:32:18 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
MyDefrag Forum
>
MyDefrag v4 Forum
>
Requests for new features
>
Process multiple volumes at once, switch visibility
Pages: [
1
]
« previous
next »
Print
Author
Topic: Process multiple volumes at once, switch visibility (Read 1071 times)
Thaliur
JkDefrag Hero
Posts: 71
Process multiple volumes at once, switch visibility
«
on:
October 23, 2009, 10:02:26 pm »
Hi Jeroen,
I know this might be a bit early to ask for this, but since I installed Windows 7, one of my most favourite new functions in it was the ability to silently (invisibly) defragment all hard disks at once, using the internal defragmentation program.
I know MyDefrag can run silently when using "WindowSize(invisible)", but would it also be possible to process all volumes the current script applies to at once, like with the windows defragmenter? I guess that might save a lot of time, although it would require more memory and CPU time.
Also, is it possible to implement a way to switch between invisible and visible during runtime, again, like in Windows 7 defragmenter?
Logged
jonib
JkDefrag Hero
Posts: 810
Re: Process multiple volumes at once, switch visibility
«
Reply #1 on:
October 23, 2009, 11:54:16 pm »
Quote from: Thaliur on October 23, 2009, 10:02:26 pm
but would it also be possible to process all volumes the current script applies to at once, like with the windows defragmenter? I guess that might save a lot of time, although it would require more memory and CPU time.
You can run several MyDefrags at the same time to defrag different disks, by changing the
OtherInstances
setting to allow. But it will use more memory and you need to make sure to defrag different harddisks and not just different volumes.
Quote
Also, is it possible to implement a way to switch between invisible and visible during runtime, again, like in Windows 7 defragmenter?
If you want this now my
MyDefrag Tray Tools
has a function to (un)hide the MyDefrag window, jeroen has it on the wishlist for MyDefrag.
jonib
Logged
MyDefrag script syntax highlighting generator
.
jeroen
Administrator
JkDefrag Hero
Posts: 7155
Re: Process multiple volumes at once, switch visibility
«
Reply #2 on:
October 24, 2009, 07:09:39 am »
Quote from: Thaliur on October 23, 2009, 10:02:26 pm
Also, is it possible to implement a way to switch between invisible and visible during runtime, again, like in Windows 7 defragmenter?
Use the WindowSize(minimized) setting. The program will then minimize itself to the task bar, and you can maximize it at will.
Logged
Thaliur
JkDefrag Hero
Posts: 71
Re: Process multiple volumes at once, switch visibility
«
Reply #3 on:
October 24, 2009, 04:00:48 pm »
Quote from: jeroen on October 24, 2009, 07:09:39 am
Quote from: Thaliur on October 23, 2009, 10:02:26 pm
Also, is it possible to implement a way to switch between invisible and visible during runtime, again, like in Windows 7 defragmenter?
Use the WindowSize(minimized) setting. The program will then minimize itself to the task bar, and you can maximize it at will.
That's what I've been doing so far. I will keep on doing that then, it's no problem.
And thanks to jonib, too, I didn't dare try that because I thought MyDefrag required sequential processing.
Logged
jonib
JkDefrag Hero
Posts: 810
Re: Process multiple volumes at once, switch visibility
«
Reply #4 on:
October 24, 2009, 04:34:38 pm »
Quote from: Thaliur on October 24, 2009, 04:00:48 pm
And thanks to jonib, too, I didn't dare try that because I thought MyDefrag required sequential processing.
As far as I know MyDefrag does not require sequential processing it's just the default, as defragmenting multiple disks puts more strain to the hardware resources, increasing harddisk and CPU temperature and of course uses more memory. I have defragmented 4 harddisks at the same time with MyDefrag without problems, I do have a quad core processor that might help.
jonib
Logged
MyDefrag script syntax highlighting generator
.
Kasuha
JkDefrag Hero
Posts: 595
Re: Process multiple volumes at once, switch visibility
«
Reply #5 on:
October 24, 2009, 07:04:21 pm »
Quote from: jonib on October 24, 2009, 04:34:38 pm
defragmenting multiple disks puts more strain to the hardware resources, increasing harddisk and CPU temperature and of course uses more memory.
I'd not recommend to try to defragment two partitions of the same disk at once, but defragmenting two different physical disks at once using two instances of MyDefrag should be OK as long as you have enough system memory.
If CPU or disk temperature seems to be a problem I recommend to consider adding some better cooling to your PC as it might overheat during normal usage too.
Logged
jeroen
Administrator
JkDefrag Hero
Posts: 7155
Re: Process multiple volumes at once, switch visibility
«
Reply #6 on:
October 24, 2009, 10:37:02 pm »
Quote from: Kasuha on October 24, 2009, 07:04:21 pm
defragmenting two different physical disks at once using two instances of MyDefrag should be OK
Also the two disks should be on different controllers. Most PC's have only a single controller to which all disks are connected, and these controllers will process only 1 disk command at a time. Net result is zero speed gain, but the multiple MyDefrag instances will still eat a lot of memory.
Logged
jonib
JkDefrag Hero
Posts: 810
Re: Process multiple volumes at once, switch visibility
«
Reply #7 on:
October 24, 2009, 11:40:18 pm »
Quote from: jeroen on October 24, 2009, 10:37:02 pm
Also the two disks should be on different controllers. Most PC's have only a single controller to which all disks are connected, and these controllers will process only 1 disk command at a time. Net result is zero speed gain
I'm wondering if this is still the case with SATA HDDs? I had 4 disks connected to one SATA controller on my mainboard and defragging all 4 at the same time and all seemed to to be defragged full speed and was done much faster.
jonib
Logged
MyDefrag script syntax highlighting generator
.
jeroen
Administrator
JkDefrag Hero
Posts: 7155
Re: Process multiple volumes at once, switch visibility
«
Reply #8 on:
October 25, 2009, 09:11:29 am »
Quote from: jonib on October 24, 2009, 11:40:18 pm
I'm wondering if this is still the case with SATA HDDs?
Yes. But if your mainboard has a special SATA raid controller chip then chances are it contains a separate controller per disk. There can still be issues with bus bandwidth and things like that.
Logged
Kasuha
JkDefrag Hero
Posts: 595
Re: Process multiple volumes at once, switch visibility
«
Reply #9 on:
October 25, 2009, 09:44:25 am »
Quote from: jeroen on October 24, 2009, 10:37:02 pm
Quote from: Kasuha on October 24, 2009, 07:04:21 pm
defragmenting two different physical disks at once using two instances of MyDefrag should be OK
Also the two disks should be on different controllers. Most PC's have only a single controller to which all disks are connected, and these controllers will process only 1 disk command at a time. Net result is zero speed gain, but the multiple MyDefrag instances will still eat a lot of memory.
I don't agree with that. Yes, the speed gain is lower than with two controllers, but you don't lose time on head seeks and while one disk is communicating, the other disk can be emptying its cache and the other instance of MyDefrag can use CPU to calculate, so you still gain some speed compared to processing these disks sequentially.
Logged
poutnik
JkDefrag Hero
Posts: 1105
Re: Process multiple volumes at once, switch visibility
«
Reply #10 on:
October 25, 2009, 10:31:21 am »
Quote from: jeroen on October 25, 2009, 09:11:29 am
Quote from: jonib on October 24, 2009, 11:40:18 pm
I'm wondering if this is still the case with SATA HDDs?
Yes. But if your mainboard has a special SATA raid controller chip then chances are it contains a separate controller per disk. There can still be issues with bus bandwidth and things like that.
I think disk bus communication speed, even with the single controller,
is much higher, than physical data read write into/from disk.
The bottleneck is Disk cache <-> Disk plate transfer.
Maximum steady data transfer for my SATA II seems to be about 80 MB/s, i.e. 640Mb/s.
SATA II bus speed allows 3 Gb/s, effective data throuput to be said about 300 MB/s.
According to small files and disk head movings, real data transfer demand is much lower.
Such 80 MB/s steady data transfer speed goes down
to about 30MB/s for multiple 512kB files transfer,
and to 0.3-0.4 MB/s for 4kB filesizes. ( all speed benchmark measured )
BTW, that seems to confirm my ideas
about 512kB border of file access vs file transfer bottleneck.
«
Last Edit: October 25, 2009, 10:42:34 am by poutnik
»
Logged
It can be fast, good or easy. You can pick just 2 of them....
Treating Spacehog zone by the same effort as Boot zone is like cleaning a garden by the same effort as a living room.
Thaliur
JkDefrag Hero
Posts: 71
Re: Process multiple volumes at once, switch visibility
«
Reply #11 on:
October 25, 2009, 11:16:53 pm »
I just ran two defragmentations, once using windows defragger, once using MyDefrag, and I, too, would not recommend defragmenting multiple volumes with MyDefrag.
Windows defragger can get it done using little resources because it - more or less - only defragments and does little or no optimization, while MyDefrag uses a lot of memory and CPU time to execute all its advanced functions like sorting and zone defragmentation. At least that's what I think.
It might be something that can be run while the computer is absolutely not in use for some time, maybe combined with a .bat file that automatically shuts down the computer when both defragmentations are done (I wouldn't trust the "WhenFinished(shutdown)" command in this case, because you can never be sure which defragmentation ends first).
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
MyDefrag v4 Forum
-----------------------------
=> Announcements
=> Questions and help
=> Bugs and problems
=> Requests for new features
=> Scripts, and other contributions
-----------------------------
JkDefrag v3 Forum
-----------------------------
=> Announcements
=> Questions and help
=> Bugs and problems
=> Requests for new features
=> Programming with the library
Loading...