Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] The kernel can handle this stuff way better and already has to do so anyway since multiple processes

[DiscordArchive] The kernel can handle this stuff way better and already has to do so anyway since multiple processes

[DiscordArchive] The kernel can handle this stuff way better and already has to do so anyway since multiple processes

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
06-18-2018, 02:33 PM
#1
Archived author: schlumpf • Posted: 2018-06-18T14:33:46.116000+00:00
Original source

The kernel can handle this stuff way better and already has to do so anyway since multiple processes may access the same file?
rektbyfaith
06-18-2018, 02:33 PM #1

Archived author: schlumpf • Posted: 2018-06-18T14:33:46.116000+00:00
Original source

The kernel can handle this stuff way better and already has to do so anyway since multiple processes may access the same file?

rektbyfaith
Administrator
0
06-18-2018, 02:34 PM
#2
Archived author: schlumpf • Posted: 2018-06-18T14:34:09.171000+00:00
Original source

Also, reading already is a syscall so you're in kernel space anyway and it isn't additional overhead.
rektbyfaith
06-18-2018, 02:34 PM #2

Archived author: schlumpf • Posted: 2018-06-18T14:34:09.171000+00:00
Original source

Also, reading already is a syscall so you're in kernel space anyway and it isn't additional overhead.

rektbyfaith
Administrator
0
06-18-2018, 02:34 PM
#3
Archived author: Deleted User • Posted: 2018-06-18T14:34:11.393000+00:00
Original source

You can also map files into memory to have similar stuff
rektbyfaith
06-18-2018, 02:34 PM #3

Archived author: Deleted User • Posted: 2018-06-18T14:34:11.393000+00:00
Original source

You can also map files into memory to have similar stuff

rektbyfaith
Administrator
0
06-18-2018, 02:34 PM
#4
Archived author: schlumpf • Posted: 2018-06-18T14:34:18.071000+00:00
Original source

In fact, it likely is more efficient for the kernel to do it.
rektbyfaith
06-18-2018, 02:34 PM #4

Archived author: schlumpf • Posted: 2018-06-18T14:34:18.071000+00:00
Original source

In fact, it likely is more efficient for the kernel to do it.

rektbyfaith
Administrator
0
06-18-2018, 02:34 PM
#5
Archived author: Quantam • Posted: 2018-06-18T14:34:46.566000+00:00
Original source

Not sure how Linux or traditional Unix works, but in Windows ALL I/O is async internally. Sync I/O is just passing the kernel an event to be set when the I/O is completed and then sleeping on it, in user mode
rektbyfaith
06-18-2018, 02:34 PM #5

Archived author: Quantam • Posted: 2018-06-18T14:34:46.566000+00:00
Original source

Not sure how Linux or traditional Unix works, but in Windows ALL I/O is async internally. Sync I/O is just passing the kernel an event to be set when the I/O is completed and then sleeping on it, in user mode

rektbyfaith
Administrator
0
06-18-2018, 02:36 PM
#6
Archived author: Quantam • Posted: 2018-06-18T14:36:25.689000+00:00
Original source

Actually I'm not certain about the user mode part. Might be in kernel mode so it can update the file pointer before it returns.
rektbyfaith
06-18-2018, 02:36 PM #6

Archived author: Quantam • Posted: 2018-06-18T14:36:25.689000+00:00
Original source

Actually I'm not certain about the user mode part. Might be in kernel mode so it can update the file pointer before it returns.

rektbyfaith
Administrator
0
06-18-2018, 02:37 PM
#7
Archived author: Quantam • Posted: 2018-06-18T14:37:58.568000+00:00
Original source

In either case allowing many requests to go the the HD simultaneously provides a speed boost because modern HD firmware performs rotational optimization of requests
rektbyfaith
06-18-2018, 02:37 PM #7

Archived author: Quantam • Posted: 2018-06-18T14:37:58.568000+00:00
Original source

In either case allowing many requests to go the the HD simultaneously provides a speed boost because modern HD firmware performs rotational optimization of requests

rektbyfaith
Administrator
0
06-18-2018, 02:38 PM
#8
Archived author: Deamon • Posted: 2018-06-18T14:38:44.506000+00:00
Original source

Well, for a fact, Win I/O has sync and async version. Async version requires user to pass Overlapped structure, which afaik has mutex handler inside
rektbyfaith
06-18-2018, 02:38 PM #8

Archived author: Deamon • Posted: 2018-06-18T14:38:44.506000+00:00
Original source

Well, for a fact, Win I/O has sync and async version. Async version requires user to pass Overlapped structure, which afaik has mutex handler inside

rektbyfaith
Administrator
0
06-18-2018, 02:39 PM
#9
Archived author: Quantam • Posted: 2018-06-18T14:39:09.977000+00:00
Original source

Even bigger gains are possible for SSDs that can perform transfers from multiple chips in parallel
rektbyfaith
06-18-2018, 02:39 PM #9

Archived author: Quantam • Posted: 2018-06-18T14:39:09.977000+00:00
Original source

Even bigger gains are possible for SSDs that can perform transfers from multiple chips in parallel

rektbyfaith
Administrator
0
06-18-2018, 02:39 PM
#10
Archived author: Quantam • Posted: 2018-06-18T14:39:57.237000+00:00
Original source

For sync the overlapped is allocated on the stack and a thread event is used instead of an explicit one
rektbyfaith
06-18-2018, 02:39 PM #10

Archived author: Quantam • Posted: 2018-06-18T14:39:57.237000+00:00
Original source

For sync the overlapped is allocated on the stack and a thread event is used instead of an explicit one

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)