Click here to Skip to main content
15,898,134 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Dan Neely17-Dec-18 3:09
Dan Neely17-Dec-18 3:09 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Mark_Wallace16-Dec-18 18:22
Mark_Wallace16-Dec-18 18:22 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
kalberts17-Dec-18 1:20
kalberts17-Dec-18 1:20 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Ehsan Sajjad16-Dec-18 21:30
professionalEhsan Sajjad16-Dec-18 21:30 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Rage16-Dec-18 21:34
professionalRage16-Dec-18 21:34 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
kalberts17-Dec-18 0:32
kalberts17-Dec-18 0:32 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
#realJSOP17-Dec-18 1:11
professional#realJSOP17-Dec-18 1:11 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
kalberts17-Dec-18 2:04
kalberts17-Dec-18 2:04 
John Simmons / outlaw programmer wrote:
Anything connected with file i/o will be faster.
Not unconditionally. If your rotating disk has a 64 MB RAM buffer (which is not uncommon today), you can write several MB to the disk without waiting for the physical disk access to complete. For piecewise, but sequential, read of a file, either the disk itself or the OS may read a much larger chunk of data - typically: a physical disk track, or an entire NTFS extent (up to a certain maximum) - into a cache, so that your next 'n' I/O-operations do not access the disk at all.

From interactive user perspective: More advanced applications do disk I/O in a background thread. Especially for writes, the user need not know when the operation is complete, need not wait, but continue with his next operation. CPU bound systems using double buffering need not be delayed by I/O at all: If processing a disk page requires 10 ms, and the next page is fetched in parallel, it makes no difference if the fetch completes in 5 ms or 500 uS, when there still is either 5 or 9,5 ms of processing left for the previous page. The total time limited by CPU (or GPU or communication line speed or ...), not by disk I/O.

It would be more correct to say that any operation that is disk I/O bound, and leads to a physical access to the disk (that is, depending on arm position and rotation - not access to the disk's RAM buffer), will be speeded up. But those situations are really few and far between, except at startup of a program that insists on loading several huge DLLs and accessing them all over before giving control to the user.

Even for program startup: Remember that an .exe or .dll is accessed as a memory mapped file: The page table entries are set up to point to the file pages, but the pages are not read into (main) RAM until actually accessed. If the .exe or .dlls are so huge that setting up the page tables takes a whole lot of time, there is very little difference between SSD and magnetic disks, especially on a reasonably defragmented NTFS file system.

I have been working on systems where the code designers were very careful to gather everything required for startup and initialization in as few disk pages as possible, to minimze paging before the user got control. A fairly cheap way to increase user satifaction Smile | :)
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
charlieg17-Dec-18 2:29
charlieg17-Dec-18 2:29 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
matblue2517-Dec-18 10:33
professionalmatblue2517-Dec-18 10:33 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
charlieg17-Dec-18 11:18
charlieg17-Dec-18 11:18 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
matblue2518-Dec-18 3:29
professionalmatblue2518-Dec-18 3:29 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Nathan Minier17-Dec-18 2:33
professionalNathan Minier17-Dec-18 2:33 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
#realJSOP17-Dec-18 9:23
professional#realJSOP17-Dec-18 9:23 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
Nathan Minier18-Dec-18 2:28
professionalNathan Minier18-Dec-18 2:28 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
matblue2517-Dec-18 10:35
professionalmatblue2517-Dec-18 10:35 
GeneralRe: If you haven’t swapped your HDD for SSD, do it now. Pin
charlieg17-Dec-18 11:21
charlieg17-Dec-18 11:21 
General*Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 6:06
dandy7216-Dec-18 6:06 
GeneralRe: *Something* is dying...just not sure what (long) Pin
RickZeeland16-Dec-18 7:24
mveRickZeeland16-Dec-18 7:24 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 8:44
dandy7216-Dec-18 8:44 
GeneralRe: *Something* is dying...just not sure what (long) Pin
RickZeeland16-Dec-18 9:01
mveRickZeeland16-Dec-18 9:01 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 10:46
dandy7216-Dec-18 10:46 
GeneralRe: *Something* is dying...just not sure what (long) Pin
theoldfool16-Dec-18 8:29
professionaltheoldfool16-Dec-18 8:29 
GeneralRe: *Something* is dying...just not sure what (long) Pin
dandy7216-Dec-18 8:41
dandy7216-Dec-18 8:41 
GeneralRe: *Something* is dying...just not sure what (long) Pin
OriginalGriff16-Dec-18 8:33
mveOriginalGriff16-Dec-18 8:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   385 votes