Delete a shortcut or land a man on the moon?

  • Thread starter Thread starter DaveC426913
  • Start date Start date
  • Tags Tags
    Delete Moon
Click For Summary

Discussion Overview

The discussion revolves around the inefficiency of deleting a shortcut on a computer, exploring the underlying reasons for the perceived delay in this seemingly simple task. Participants touch on aspects of operating system design, performance metrics, and user experience, with references to specific operating systems like Windows and Linux.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant claims that deleting a shortcut takes an excessive amount of time given their computer's processing power, suggesting a disconnect between hardware capabilities and software performance.
  • Another participant doubts that processing power is a factor in the delay, asserting that the operation can occur simultaneously with other intensive tasks without impacting performance.
  • A different participant notes that the delay occurs primarily on the first deletion attempt, implying that subsequent deletions are faster, which raises questions about the system's handling of the task.
  • One participant attributes the delay to numerous permission and registry checks performed by the operating system, suggesting that these checks involve extensive disk access and overhead that contribute to the slowdown.
  • Another participant echoes the previous point about the overhead from permission checks and filesystem journaling, criticizing the complexity of the operating system's design as a hindrance to efficiency.
  • There is a suggestion that using an operating system like Linux could result in faster deletions due to its simpler permission model and filesystem efficiency.

Areas of Agreement / Disagreement

Participants express differing views on the reasons for the delay in deleting shortcuts, with some attributing it to system design and others questioning the relevance of processing power. The discussion remains unresolved regarding the primary cause of the inefficiency.

Contextual Notes

Participants reference specific operating systems and their design choices, indicating that the discussion may be limited by personal experiences and assumptions about system performance.

DaveC426913
Gold Member
2025 Award
Messages
24,488
Reaction score
8,752
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.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 35 ·
2
Replies
35
Views
9K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
9K
Replies
5
Views
5K
  • · Replies 33 ·
2
Replies
33
Views
7K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 67 ·
3
Replies
67
Views
17K
  • · Replies 8 ·
Replies
8
Views
7K