Delete a shortcut or land a man on the moon?

  • Thread starter Thread starter DaveC426913
  • Start date Start date
  • Tags Tags
    Delete Moon
AI Thread Summary
The discussion highlights the inefficiency of deleting shortcuts on Windows XP, where the process can take up to 30 seconds despite the system's high processing power. The delay is attributed to extensive permission and registry checks that the operating system performs before completing the deletion. These checks involve multiple disk accesses, which significantly slow down the operation. In contrast, Linux offers a more efficient deletion process, as it lacks a registry and has simpler permission checks, allowing files to be deleted almost instantaneously. The conversation critiques the perceived convenience of Windows features, emphasizing the drawbacks of its complex architecture.
DaveC426913
Gold Member
Messages
23,830
Reaction score
7,815
Dear Mr. Gates:

My computer has enough flops to count every man woman and child on the face of the Earth in the time it takes my heart to beat twice. Why oh why then, is a simple operation like deleting a shortcut such an incredibly time- and resource-consuming task? It takes, like, 30 seconds to delete a single shortcut. That's something like 60 Gigaflops.
 
Computer science news on Phys.org
I seriously doubt the processing power factors in at all. You could be running a flops-intensive task at the same time as deleting the shortcut and it wouldn't be slowed.

(Of course, if you're doing this in Vista, I feel you -- very poorly designed there!)

Minor note: 30 seconds * 2 Gflops = 60 Gflop, not 60 Gflops; the seconds cancel.
 
CRGreathouse said:
I seriously doubt the processing power factors in at all. You could be running a flops-intensive task at the same time as deleting the shortcut.
Happens every time*. There's something highly time-consuming about this menial task. I'm on XP.

*that is, every first time. Subsequent deletions are fast. Makes me wonder if the Deletion Daemon is not a "morning [strike]person[/strike] daemon".
 
A lot of the overhead is the permission and registry checks. The OS does a million checks first to see if deleting the shortcut (or any file) is going to screw up the operation of any programs, or prevent you from being able to run them. It has to hit the disk in eight million places to do all these checks, and most of the delay is your hard drive seeking around. It has to check for permissions, which also takes time since there's a ton of unnecessary network infrastructure, layers of software, and cryptographic bull built into it. Finally it has to journal the filesystem transaction, which involves a few more disk hits, and then the deletion actually occurs. The deletion itself is probably a couple of milliseconds.

You could use an operating system like Linux if you prefer. There is no registry, it doesn't care if you screw up your programs, the permissions are just a couple of bits in a field, and the filesystem is more efficient than NTFS. You type rm and the file is deleted pretty much instantaneously. It takes longer for the shell to print its subsequent prompt than it does for the deletion to actually occur.

- Warren
 
Last edited:
chroot said:
A lot of the overhead is the permission and registry checks. The OS does a million checks first to see if deleting the shortcut (or any file) is going to screw up the operation of any programs, or prevent you from being able to run them. It has to hit the disk in eight million places to do all these checks, and most of the delay is your hard drive seeking around. It has to check for permissions, which also takes time since there's a ton of unnecessary network infrastructure, layers of software, and cryptographic bull built into it. Finally it has to journal the filesystem transaction, which involves a few more disk hits, and then the deletion actually occurs. The deletion itself is probably a couple of milliseconds.
Yeah, kind of puts a dent in the whole "convenient feature" philosophy.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

Replies
1
Views
3K
Replies
3
Views
3K
Replies
1
Views
8K
Replies
33
Views
6K
2
Replies
67
Views
14K
Replies
8
Views
6K
Back
Top