Re: changing timeslice in linux

2012-08-28 Thread Xin Tong
(20 * HZ / 1000) I compiled and installed the modified kernel, but when i looked at the , i get a different number root@elm:~# cat /proc/sys/kernel/sched_rt_period_us 100 Xin On Mon, Aug 20, 2012 at 5:16 PM, Namhyung Kim wrote: > On Mon, 20 Aug 2012 07:51:52 -0700, Xin Tong wro

Re: changing timeslice in linux

2012-08-28 Thread Xin Tong
another question is that when i try to launch many (24) RT processes. some of them do not seem to get scheduled. i query their scheduling properties. they all have SCHED_RR with priority 99, but some of them simply are not taking any CPU. Xin On Tue, Aug 28, 2012 at 1:15 PM, Xin Tong wrote

linux page table

2012-09-01 Thread Xin Tong
When a process is created in Linux, corresponding page table is implemented. In the current x86 linux, the page table is a multi-level page table and CR3 points to the first level of the page table. I have 2 questions. 1. is the value in CR3 virtual address or physical address ? 2. can the addres

Re: linux page table

2012-09-01 Thread Xin Tong
On Sat, Sep 1, 2012 at 1:01 PM, Shentino wrote: > On Sat, Sep 1, 2012 at 12:30 PM, Xin Tong wrote: >> When a process is created in Linux, corresponding page table is >> implemented. In the current x86 linux, the page table is a multi-level >> page table and CR3 points to t

Re: linux page table

2012-09-02 Thread Xin Tong
On Sun, Sep 2, 2012 at 1:10 AM, Jiri Kosina wrote: > On Sat, 1 Sep 2012, Xin Tong wrote: > >> When a process is created in Linux, corresponding page table is >> implemented. In the current x86 linux, the page table is a multi-level >> page table and CR3 points to the first

changing timeslice in linux

2012-08-19 Thread Xin Tong
I have 2 questions about linux 2.6 x86_64 scheduler. 1. is the default scheduling algorithm SCHED_NORMAL in linux ? 2. how do i change the time slice in linux source code ? Xin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ke

Re: changing timeslice in linux

2012-08-20 Thread Xin Tong
On Sun, Aug 19, 2012 at 10:54 PM, Mike Galbraith wrote: > On Sun, 2012-08-19 at 11:58 -0700, Xin Tong wrote: >> I have 2 questions about linux 2.6 x86_64 scheduler. >> >> 1. is the default scheduling algorithm SCHED_NORMAL in linux ? > > Yes. Is there any document descr

default page size in linux kernel

2014-04-05 Thread Xin Tong
What would be the easiest way to modify the Linux kernel to give out 2MB huge pages by default (instead of 4KB) on X86_64 ? Is this possible without significant changes to the kernel ? Trent -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo