Peter Zijlstra wrote:Very true. A seeky intensive process wouldn't be limited at all. And I'm sure there're better ways/models to satisfy my needs. A suggestion (off-list) has been to try with ionice that seems to be the right solution to limit the I/O activity of single processes, but it doens't allow to define policies based on UIDs or GIDs. BTW I don't have any number to compare the effectiveness of the priority approach vs the throttling approach. Here is a very quick test made on my PC (not sure if glxgears is the right benchmark to evaluate the system responsiveness): 3564 frames in 5.0 seconds = 711.722 FPS 3953 frames in 5.0 seconds = 790.598 FPS 3969 frames in 5.0 seconds = 793.794 FPS 3769 frames in 5.0 seconds = 753.189 FPS 2877 frames in 5.0 seconds = 572.843 FPS 3481 frames in 5.0 seconds = 696.071 FPS 3775 frames in 5.0 seconds = 751.404 FPS 2781 frames in 5.0 seconds = 556.118 FPS 3209 frames in 5.0 seconds = 641.064 FPS 2843 frames in 5.0 seconds = 565.697 FPS 3652 frames in 5.0 seconds = 730.253 FPS 3669 frames in 5.0 seconds = 733.734 FPS 3797 frames in 5.0 seconds = 759.234 FPS 3883 frames in 5.0 seconds = 776.488 FPS 3895 frames in 5.0 seconds = 778.868 FPS 3845 frames in 5.0 seconds = 768.968 FPS 3829 frames in 5.0 seconds = 765.793 FPS 3763 frames in 5.0 seconds = 752.539 FPS 3818 frames in 5.0 seconds = 763.483 FPS 3443 frames in 5.0 seconds = 688.597 FPS 3202 frames in 5.0 seconds = 640.390 FPS 3807 frames in 5.0 seconds = 761.391 FPS 3053 frames in 5.0 seconds = 610.539 FPS 2759 frames in 5.0 seconds = 551.790 FPS 2975 frames in 5.0 seconds = 594.873 FPS 2993 frames in 5.0 seconds = 596.709 FPS 3250 frames in 5.0 seconds = 649.857 FPS 3494 frames in 5.0 seconds = 698.688 FPS -Andrea --
| FUJITA Tomonori | Re: Integration of SCST in the mainstream Linux kernel |
| David Newall | Re: Slow DOWN, please!!! |
| Dave Hansen | Re: [RFC/PATCH] Documentation of kernel messages |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
git: | |
| Sander | 'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1) |
| David Miller | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Evgeniy Polyakov | Re: [BUG] New Kernel Bugs |
