ionice command to set i/o priorities for domUs

Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
ionice command to set i/o priorities for domUs

Hi, I have xen on a debian lenny with more then 20 VM. The supermicro
server has a raid10 with a good performance, but I have IO issues when
one VM is making backup, it affects the performance of the other VMs.
I've setup cpus, vcpus, sched-credit between dom0 and domUs as doc
recommended, but I'm still facing IO problems. So I found a way to
mediate disk access with ionice from the dom0. I mean changing
priority to domUs PID. See below more details.

I'm using CFQ scheduler
dom0:~# cat /sys/block/[sh]d[a-z]*/queue/scheduler
noop anticipatory deadline [cfq]
noop anticipatory deadline [cfq]

It's a part of ps regarding block devices:
15747 ? S< 0:00 \_ [blkback.64.xvda]
15748 ? S< 0:54 \_ [blkback.64.xvda]
20353 ? S< 0:00 \_ [blkback.71.xvda]
20354 ? S< 0:05 \_ [blkback.71.xvda]
2361 ? S< 0:00 \_ [blkback.112.xvd]
2362 ? S< 0:15 \_ [blkback.112.xvd]
26596 ? S< 0:00 \_ [blkback.122.xvd]
26597 ? S< 0:00 \_ [blkback.122.xvd]
27203 ? S< 0:00 \_ [blkback.123.xvd]
27204 ? S< 0:00 \_ [blkback.123.xvd]

Finally, I change these PIDs with ionice and make several tests but
I'm still confuse with the results. My question:

Does anybody on this list use ionice to mediate disk priority to disk
intense domU with ionice from dom0?

appreciate your help.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
mailx to set priorities
Deei
Hi, can we set priority to mails which I have sent using mailx? Is there any options in mailx for that? I am receiving mails on Microsoft Outlook... Shell Programming and Scripting
4
Shell Programming and Scripting
crontab priorities
TechFly
I have a user that wants to run a backup of an oracle database via a file copy. They shut down the database once a week, and do a full copy. She wrote a script to do this for her, and it works, but when she runs it from cron, it takes twice as long. I took a look, and found a way to get it to...... AIX
5
AIX
setting thread priorities
bankpro
hi all: ->could someone tell how 2 set thread priorities in a prg -> also how to create multiple dynamic threads.. help me....... Programming
1
Programming
Linux and UNIX

Linux is a family of open source Unix-like operating systems based on the Linux kernel. The Linux kernel is an operating system kernel first released by Linus Torvalds on 17 September 1991. Linux distributions include the Linux kernel, system software and libraries. Popular free open source Linux distributions include Debian, Fedora, and Ubuntu. Commercial Linux distributions include Red Hat Enterprise Linux and SUSE Linux Enterprise Server. Linux may be freely modified and redistributed. Anyone on the planet may create a Linux distribution for any purpose.
Unix (trademarked as the UNIX certification mark) is a very mature family of multitasking, multiuser computer operating systems that evolved from the original AT&T Unix. Unix development starting in the 1970s by legendary Bell Labs programmers Ken Thompson, Dennis Ritchie, and others. Unix was first targeted for the Bell System and AT&T licensed Unix to outside parties. In the 1970s time period, this lead to a variety of for-profit as well as not-for-profit Unix variants.
In the early days, this included the University of California, Berkeley (BSD), Microsoft (Xenix), IBM (AIX), and Sun Microsystems (Solaris). In the early 1990s, AT&T sold their Unix rights to Novell. In 1995 Novell sold their Unix business to the Santa Cruz Operation (SCO). The UNIX trademark was passed to The Open Group, a "neutral" industry consortium. The Open Group promoted the use of the UNIX trademark for certified operating systems that comply with the Single UNIX Specification (SUS). In 2014 Apple's macOS became the Unix version with the largest global install base and macOS remains the largest Unix-user base today.
Please enjoy and help our forum community by "showing your work" and posting your code, even when your code is not working as expected. To help others help you, please wrap your code blocks, sample input, sample output, error messages, and other data in CODE tags and wrap your short commands and short data objects in ICODE tags. We were all beginners in the beginning. If you have any questions about how to register or how to post, please contact us in Live Chat. Thank you and enjoy this "forever free" technical support community for UNIX, Linux and computer information technology in general.