Ubiquity should advise kernel to discard pages from copied files
Bug #197579 reported by
John McCabe-Dansted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
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://
To post a comment you must log in.
Thanks for your submission. Sounds like a great idea. My last gutsy install was 18 minutes on 2-year old hardware. If we can reduce that even more that would be cool.
Marking as Confirmed.