[Bug 197579] Re: Ubiquity should advise kernel to discard pages from copied files
Phillip Susi
psusi at ubuntu.com
Sun Jan 12 03:39:22 UTC 2014
What we really want is POSIX_FADV_NOREUSE, but linux does not currently
implement it. Also it won't make a difference during install since
there aren't other, more important pages that should be cached instead,
so I'm going to close this bug.
** Changed in: ubiquity (Ubuntu)
Status: Confirmed => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/197579
Title:
Ubiquity should advise kernel to discard pages from copied files
Status in “ubiquity” package in Ubuntu:
Won't Fix
Bug description:
The linux kernel supports the O_STREAMING flag for open(), which
suggests to the kernel that the file will only be used once and so the
pages should be discarded from the cache as soon as they are used.
This could make the performance of the LiveCD much better when
ubiquity is copying files.
This would be a trivial improvement if python supported O_STREAMING; perhaps upstream python should be persuaded to support O_STREAMING. See:
http://irclogs.ubuntu.com/2007/04/17/%23ubuntu-kernel.txt
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/197579/+subscriptions
More information about the foundations-bugs
mailing list