LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-23-2008, 11:29 PM   #1
petersk
Member
 
Registered: Aug 2005
Distribution: Suse
Posts: 54

Rep: Reputation: 15
priority for fuppes service


I am running kubuntu with a lot of different services like apache2, fuppes, samba, ssh. I'd like to assign the highest bandwidth priority to fuppes. Fuppes is only going to serve computers on my LAN, and actually only a single computer (my PS3). Does anyone have any suggestions of how I could maximize BW to the PS3 and/or reduce latency?
I see some info on bandwidth shaping possibly using tc, but I know nothing about it.

Kurt
 
Old 10-25-2008, 10:59 AM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
I think tc is not required.
Typically egress queue is pfifo_fast (check this with 'ip link show' run as root).
So I believe it is enough for you to set the TOS byte to 8 (minimum delay) using iptables.
With pfifo_fast queue it makes the packets to be sent first.
 
Old 10-25-2008, 01:42 PM   #3
petersk
Member
 
Registered: Aug 2005
Distribution: Suse
Posts: 54

Original Poster
Rep: Reputation: 15
Any suggestions on how I'd do that? Assume that I'm such an IPTABLES noob, that I either use guarddog, suse firewall, or ufw instead at all times.

Also, you should note that I already set up my router to QoS the packets as "High". Additionally, I'm doing all this on a relatively slow (600 MHz PIII) machine, so I wouldn't doubt I need to do some CPU intervention/prioritization.

OK, I found this command online. I'll give it a try and see if it helps any:
iptables -t mangle -A POSTROUTING -p tcp --sport <fuppesport> -j TOS --set-tos 8
If I want it executed every time it reboots, where should I put the command?

Kurt

Last edited by petersk; 10-25-2008 at 02:11 PM.
 
Old 10-26-2008, 05:01 PM   #4
petersk
Member
 
Registered: Aug 2005
Distribution: Suse
Posts: 54

Original Poster
Rep: Reputation: 15
I tried setting TOS to 8 and that didn't seem to help.
Kurt
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make TCP server a daemon / service much like a dhcpd service? rajat Linux - Networking 1 05-22-2007 01:29 AM
process priority,nice -- small question regarding high/low priority values beeblequix Linux - Newbie 1 10-11-2006 10:22 AM
priority alaios Linux - General 3 10-12-2004 06:55 AM
Priority: script to run on boot vs. "service iptables save" iheardrain Linux - General 5 09-30-2004 09:53 PM
/sbin/service is empty every weekend and changed to service.1 LineS Linux - General 0 05-24-2004 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration