system and it really help to understand where is the bottleneck.
add the usage of pfqueue.
Post by g***@tonarchiv.chHello Fabrice,
Ah you think that also the DB could be the bottleneck? Hard drive I/O
isn't - latency is still under 1ms and buffers are not filling up.
I guess I need some more fine grained monitoring the understand what is
going on...
Any advice on how to monitor which process is eating CPU? With htop it
always is pfbandwidth on the top line of CPU time use.
I was think that, because it is only one CPU core loaded to 100%, it
must be a single thread. You think that DB handling of the pfbandwidth
thread could be the time consuming part?
Some buffering with a queue sounds like a good solution then.
Thank you,
Till
Post by Durand fabriceHello Till,
We probably can do something and save the stats via pfqueue
(inline_accounting_update_session_for_ip in pfqueue).
It need a little bit of dev (really few).
also can you check one the db side if there is no issue ?
Regards
Fabrice
Post by g***@tonarchiv.chHi there,
We are using PF in in-band mode and also have accounting enabled.
Now it seems that pfbandwidth is the bottleneck in this setup.
We have 4 core CPU, 8GB RAM and SSD disk. I/O latency and RAM usage is
no issue. But pfbandwidth takes 100% of one core when we put some load
on the box (10 clients, total of approx. 10MB/s).
I understand that pfbandwidth has to be single threaded because of the
way how it gets the traffic data from the kernel.
But I wonder if there is some way to tune it to get a better performance
under high load?
Best regards,
Till
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
PacketFence-devel mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
PacketFence-devel mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-devel
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
PacketFence-devel mailing list
https://lists.sourceforge.net/lists/listinfo/packetfence-devel