Re: [Netnice-kernels] Re: Netnice internals
Status: Alpha
Brought to you by:
taost6
From: Sho F. <fu...@wi...> - 2004-11-09 09:02:57
|
Hi, Takashi Okumura wrote: >hi, > >Scott Brumbaugh wrote: > > >>>p.s. fujita-kun. does vifctl use vif_capture.c, or NPF? >>> >>> > >i talked with fujita-kun and the statement was his mistake. we do not need >NPF for vifctl. i think it will work on Linux also (but, you'll need to >modify the mount point hardcorded in the perl script). > > > I'm sorry. I took vifctl for vf which needs vif_capture. >>>p.p.s. can you suggest/specify a shell program we need to modify for linux? >>> bash? bsh? ksh? >>> >>> >>Most Linux systems use bash as the shell. >> >> > >okay. fujita-kun, is bash an easy case? what do we need to do first? >any suggestion? > > > I have no idea about bash. But to implement @<bandwidth> expression, we have to modify the parser of bash. And It will be a difficult task. Then, I have a suggestion about the design of bandwidth configuration. How about using environment variables? A sample expression follows. > BW=10Mbps ftp example.com In this approach, we don't have to modify the parser. Moreover, if a shell which executes a netnice-enabled script doesn't indeed support netnice, It simply excutes the command without bandwidth limitation. We can reduce adverse effects of passing @<bandwidth> as a argument to the command. >actually, we may move the issue onto netnice-developers ML, since there are >several linux developers, waiting for the kernel module to be ready. > >thanks, > >-- taka > > > > -- sho |