From: Gee B. K. <vo...@ki...> - 2008-04-21 14:05:17
|
Hi all, I managed to run Chromium with Infiniband + SDP. However, when I run mplayer with tilesort SPU, I get tons of "Sending as BIG, the performance is going to tank!!!. You need larger buffers!!!" warnings. How can I get rid of this warning message ? Regards, Gee Bum. =================== Here is my configuration file : # # Import modules # import os os.environ['CR_SDP_SUFFIX'] = '-ib' import sys sys.path.append( "../server" ) # Import Chromium module from mothership import * # System configuration SHELL = "/usr/bin/ssh" ENV = "CRMOTHERSHIP=master01 CR_SDP_SUFFIX='-ib' LD_LIBRARY_PATH=/usr/local/CR/lib/Linux" CRSERVER = "/usr/local/CR/bin/Linux/crserver -mothership master01 >& /dev/null" CRAPPFAKER = "/usr/local/CR/bin/Linux/crappfaker -mothership master01" CRLIBDIR = "/usr/local/CR/lib/Linux/" # Definition of global constant numbers TILE_ROWS = 2 TILE_COLS = 4 TILE_WIDTH = 2048 # Width of a tile TILE_HEIGHT = 1080 # Height of a tile # Global configuration cr = CR() # List of nodes TILES = [('display01', 0, 1036), ('display02', 2048, 1036), ('display03', 0, 0), ('display04', 2048, 0), ('display09', 3212, 1036), ('display10', 5260, 1036), ('display11', 3212, 0), ('display12', 5260, 0)] # Creation of tilesort SPU tileSortSPU = SPU('tilesort') tileSortSPU.Conf('bucket_mode', 'Broadcast') tileSortSPU.Conf('retile_on_resize', 0) tileSortSPU.Conf('display_string', 'localhost:0.0') #tileSortSPU.Conf('render_to_crut_window', '1') # Client node : where application begins clientNode = CRApplicationNode('master01') clientNode.SPUDir('/usr/local/CR/lib/Linux') clientNode.SetApplication(sys.argv[1]) clientNode.AddSPU(SPU('array')) clientNode.AddSPU(tileSortSPU) clientNode.AutoStart([SHELL, \ "master01", \ "/bin/sh -c '" + ENV + " " + CRAPPFAKER + "'"]) for (hostname, x, y) in TILES: # Creation of a new node (display) node = CRNetworkNode(hostname) node.AddTile(x, y, TILE_WIDTH, TILE_HEIGHT) node.Conf('optimize_bucket', 0) # Create a render SPU & register it to the new node renderSPU = SPU('render') renderSPU.Conf('fullscreen', '1') renderSPU.Conf('display_string', 'localhost:0.0') renderSPU.Conf('borderless', '1') renderSPU.Conf('show_cursor', '1') # if hostname == 'display01': # renderSPU.Conf('is_swap_master', '1') # renderSPU.Conf('num_swap_clients', '15') node.AddSPU(renderSPU) node.SPUDir('/usr/local/CR/lib/Linux') node.AutoStart([SHELL, \ hostname, \ "/bin/sh -c '" + ENV + " " + CRSERVER + "'"]) # Add node to mothership configuration cr.AddNode(node) # Connect nodes ... (?) tileSortSPU.AddServer(node, protocol='sdp') # # Let's party !!! # cr.AddNode(clientNode) cr.Go() |