#10637: memory issue with mounted image files -----------------------------+---------------------------- Reporter: jessicah | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/Kernel | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All -----------------------------+---------------------------- Comment (by jessicah): Possibly a problem with the file cache not attempting to commit writes early enough? Can be reproduced fairly easily using dd if=/dev/urandom of=file.of.junk bs=1M count=8192 and watching the cache consistently climb with no apparent effort to empty it. Changing the dd line, adding oflag=direct appears to do the correct thing and bypass the cache altogether, and things hum along quite nicely in this particular instance. And it's not a write speed issue either. It simply doesn't do any writing. The speeds I get using dd with the direct flag are similar if not the same as without the direct flag and simply writing to cache. Given the behaviour with dd filling up the cache, I would suspect my issues with the mounted bfs image file are eerily similar. -- Ticket URL: <https://dev.haiku-os.org/ticket/10637#comment:2> Haiku <https://dev.haiku-os.org> Haiku - the operating system.