Re: Question: How to distribute the interrupts over multiple cores?

2013-03-25 Thread Lenky Gao
> Sorry I can't find physflat_cpu_mask_to_apicid() in latest Linux tree, seems > it has > been removed out.. But just consider what you said that it's limited by "8 > cores" > IMHO it's impossible or it is a bug. Here:

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-25 Thread Lenky Gao
I have found a comment in function physflat_cpu_mask_to_apicid to explain why. static unsigned int physflat_cpu_mask_to_apicid(const struct cpumask *cpumask) { int cpu; /* * We're using fixed IRQ delivery, can only return one phys APIC ID. * May as well be the

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-25 Thread Lenky Gao
> And without irqbalance service? It sounds weird to me.. The irqbalance service has been stopped. -- Regards, Lenky -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-25 Thread Lenky Gao
> Do you mean on your old machine the irq will be distributed automatically > among the cpus set by smp_affinity? > Yes. My another machine's interrupts are as follows: [root@localhost ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model :

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-25 Thread Lenky Gao
Do you mean on your old machine the irq will be distributed automatically among the cpus set by smp_affinity? Yes. My another machine's interrupts are as follows: [root@localhost ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-25 Thread Lenky Gao
And without irqbalance service? It sounds weird to me.. The irqbalance service has been stopped. -- Regards, Lenky -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-25 Thread Lenky Gao
I have found a comment in function physflat_cpu_mask_to_apicid to explain why. static unsigned int physflat_cpu_mask_to_apicid(const struct cpumask *cpumask) { int cpu; /* * We're using fixed IRQ delivery, can only return one phys APIC ID. * May as well be the

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-25 Thread Lenky Gao
Sorry I can't find physflat_cpu_mask_to_apicid() in latest Linux tree, seems it has been removed out.. But just consider what you said that it's limited by 8 cores IMHO it's impossible or it is a bug. Here:

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lenky Gao
> On 03/25/2013 11:18 AM, Lenky Gao wrote: >> The irqbalance service has been stopped. > So try start irqbalance to see what happen? > It should help to give what you want ;-) Using the irqbalance service to dynamically change the IRQ-bound? It's seems a software solution. In

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lenky Gao
> Seems you bind the nic irq to second and third cpu for the bit mask > you set is 110, so now eth9's irq is working on the 3rd cpu. > Have you ever tried irqbalance service? It may help to balance irq if the > irq workload of 3rd cpu is too heavy. I need the interrupts distribute over multiple

Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lenky Gao
Hi everyone, I faced the same problem as this URL: http://stackoverflow.com/questions/13641440/unable-to-distrubute-the-interrupts-over-multiple-cores The question have been closed with no answer. :( My machine have 2x Xeon E5504 processors and running vanilla kernel 3.6.11 in CentOS 6.0.

Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lenky Gao
Hi everyone, I faced the same problem as this URL: http://stackoverflow.com/questions/13641440/unable-to-distrubute-the-interrupts-over-multiple-cores The question have been closed with no answer. :( My machine have 2x Xeon E5504 processors and running vanilla kernel 3.6.11 in CentOS 6.0.

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lenky Gao
Seems you bind the nic irq to second and third cpu for the bit mask you set is 110, so now eth9's irq is working on the 3rd cpu. Have you ever tried irqbalance service? It may help to balance irq if the irq workload of 3rd cpu is too heavy. I need the interrupts distribute over multiple

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lenky Gao
On 03/25/2013 11:18 AM, Lenky Gao wrote: The irqbalance service has been stopped. So try start irqbalance to see what happen? It should help to give what you want ;-) Using the irqbalance service to dynamically change the IRQ-bound? It's seems a software solution. In my old machine

Re: Inactive memory keep growing and how to release it?

2013-03-14 Thread Lenky Gao
. Maybe i have found the answer for this question: On Thu, Mar 14, 2013 at 4:00 PM, Lenky Gao wrote: > Hi Everyone, > > Maybe i have found the answer for this question. The author of the JBD > have explained in the comments: > > /* > * When an ext3-ordered file is

Re: Inactive memory keep growing and how to release it?

2013-03-14 Thread Lenky Gao
found the answer for this question: On Thu, Mar 14, 2013 at 4:00 PM, Lenky Gao lenky@gmail.com wrote: Hi Everyone, Maybe i have found the answer for this question. The author of the JBD have explained in the comments: /* * When an ext3-ordered file is truncated, it is possible that many

Re: Inactive memory keep growing and how to release it?

2013-03-04 Thread Lenky Gao
2013/3/4 Zlatko Calusic : > > The drop_caches mechanism doesn't free dirty page cache pages. And your bash > script is creating a lot of dirty pages. Run it like this and see if it > helps your case: > > sync; echo 3 > /proc/sys/vm/drop_caches Thanks for your advice. The inactive memory still

Re: Inactive memory keep growing and how to release it?

2013-03-04 Thread Lenky Gao
2013/3/4 Zlatko Calusic zlatko.calu...@iskon.hr: The drop_caches mechanism doesn't free dirty page cache pages. And your bash script is creating a lot of dirty pages. Run it like this and see if it helps your case: sync; echo 3 /proc/sys/vm/drop_caches Thanks for your advice. The inactive