]> rtime.felk.cvut.cz Git - frescor/demo.git/commitdiff
Let BFQ do its best without any hint
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 28 Nov 2009 16:16:40 +0000 (17:16 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 28 Nov 2009 16:16:40 +0000 (17:16 +0100)
We do not bind disk vres as the code is buggy. Lets's see whether it
helps.

build/recorder/Makefile.omk
build/recorder/ffmpeg.c
src/frsh_forb
src/streamer

index 647a453f2a060b505ca68bd0ab23937da6ffdb8b..99813d62a8c6eb7a01e5991c555cfd948df21832 100644 (file)
@@ -9,7 +9,7 @@ CFLAGS += -Wall
 CFLAGS += -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
 CFLAGS += -Wno-pointer-sign 
 CFLAGS += -I /usr/local/include
-CFLAGS += -g -O0
+CFLAGS += -g -O1
 
 # ifdef CONFIG_AQUOSA
 # CPPFLAGS += -I$(AQUOSA)/include
index 291f2a93daccfce239cb45d48241f53bcf97f233..f4feb170d48e61b1e305d0c63adeaab41b6ed51e 100644 (file)
@@ -3949,7 +3949,7 @@ void *av_encode_thread(void *arg)
 
     /* bind this thread to vres */
     thread_id = fosa_thread_self();
-    PXW(frsh_thread_bind(disk_vres, thread_id));
+    /* PXW(frsh_thread_bind(disk_vres, thread_id)); */
 
     ret = av_encode(output_files, nb_output_files,
                    input_files, nb_input_files,
@@ -3978,7 +3978,7 @@ int frsh_stuff()
 /* #define DISK_THROUGHPUT 20277LLU /\* units??? probably MB/s *\/ */
 /*     disk_budget = fosa_nsec_to_rel_time(1000000000LLU/\*nsec/s*\/ * 500000 /\*bytes/s*\/ */
 /*                                     / (DISK_THROUGHPUT*1000000) /\* bytes *\/); // is this correct? */
-    disk_budget = fosa_msec_to_rel_time(2);
+    disk_budget = fosa_msec_to_rel_time(1);
     disk_period = fosa_msec_to_rel_time(1000/50);
     
     /* Contract negotiation for CPU */
index 2b7d0a84e50d47e86582fd77dc1409c4d06afd4a..6e4d7a62fc3bd32670db9c47d246a3f69360ac78 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 2b7d0a84e50d47e86582fd77dc1409c4d06afd4a
+Subproject commit 6e4d7a62fc3bd32670db9c47d246a3f69360ac78
index 598c35885266e592779e6521fe9f78517caf2dfa..743edce97bef0897644164f379c085b7e03c3d0a 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 598c35885266e592779e6521fe9f78517caf2dfa
+Subproject commit 743edce97bef0897644164f379c085b7e03c3d0a